These directions assume you're using an Arch Linux desktop for deployment. These instructions assume you're on a separate machine from the server.
Different hosting providers have different authentication mechanisms. AWS uses ssh RSA keys, providers with SolusVM generate a random root password.
We require you use ssh public-private key authentication as root. If you have a
key already, you're good to go. We'll ask for your password and use
ssh-copy-id
to copy it to the server for you.
GitHub has a good writeup on how to generate ssh keys. If you follow their guide, you only need to complete the first two steps. We'll copy it to your server for you.
Ubuntu's cloud image disables ssh login as root. You can fix this by logging in as the 'ubuntu' user, and editing the
/root/.ssh/authorized_keys
file.Using sudo instead of root makes a lot of sense as a user, but not in the context of automated provisioning.
-
Install our dependencies:
$ sudo pacman -S python2 python-pip python-virtualenv
In place of using virtualenv from pacman, you can use pip's package.
-
Clone the git repository
$ git clone git://github.com/pipeep/ansible-honeybadger.git $ cd ansible-honeybadger
-
Run the autosetup script, and follow the appropriate prompts:
$ ./autosetup