1. Home
  2. Docs
  3. Infrastructure
  4. Ansible


We use Ansible for two purposes:

  • Configuring single-node Ubuntu servers
  • (Optional, but recommended) Configuring Ubuntu for local development

Install Ansible on Ubuntu

sudo apt-add-repository --yes --update ppa:ansible/ansible
sudo apt install ansible

Setup Hosts


Installing Roles

ansible-galaxy install geerlingguy.docker

Ansible Guides

sudo nano /etc/ansible/hosts

Append this new host group to the file.


localhost ansible_connection=local

Now you can run a playbook locally by doing:

ansible-playbook -K -l local ansible/someplaybook.yml

How can we help?