Ansible Setup » History » Revision 5
Revision 4 (Jon Goldberg, 03/02/2018 04:59 PM) → Revision 5/32 (Jon Goldberg, 03/28/2018 01:32 PM)
# Ansible Setup ### Installation Megaphone Ansible scripts assume Ansible 2.4+. If you're using Debian 9, install Ansible from backports. ```bash sudo apt install ansible pass expect sudo pip2 install python-linode #Needed for generating Linode VMs on the fly # Debian 9: sudo apt install -t stretch-backports ansible ``` ### Localhost setup [Note: You only need this to start managing your OWN host via Ansible, not to use Ansible to manage other servers] After adding your local computer to the [Server List](https://crm.megaphonetech.com/server-list), create a folder for it in `<ansibleroot>/group_vars`. Set any reasonable defaults, in particular `ansible_authorized_keys`. This mitigates the security issue of having passwordless sudo access on each other's localhosts.