Ansible Installation - Ubuntu 16.04

For network automation, I believe the best tool out there right now is Ansible. Ansible is open-source, agentless, has a large community, and is easy to get started quickly. For the major networking vendors, there are already pre-built modules making it simple to interface with their equipment. This post will focus on getting Ansible up and running on a Ubuntu 16.04 server (in three steps), and following posts will show how to use Ansible to automate network configuration.

  1. Assuming this is a fresh install, first install 'software-properties-common':
    sudo apt-get install software-properties-common

  2. Then add Ansible's PPA (Personal Project Archive) to Ubuntu:
    sudo apt-add-repository --yes --update ppa:ansible/ansible

  3. Install Ansible:
    sudo apt-get install ansible

And that's it, your Ansible installation is complete!

The Ansible installation should have included python, verify it is installed:
python -V

You can also verify the version of Ansible installed:
ansible --version

Ansible: https://www.ansible.com/
Ansible Getting Started: https://www.ansible.com/get-started
Network Modules: http://docs.ansible.com/ansible/latest/list_of_network_modules.html