- ansible 2.0 or higher
There are several ways to install Ansible. If you are running on a Mac OS X, it is easiest to install through Homebrew/homebrew.
Check ansible/ansible for detailed installation instruction.
The easiest way is to add a box from Vagrant Cloud. In this repo, Vagrantfile will automatically download CentOS Linux 7/x86_64 Vagrant images.
To get started run:
$ vagrant up
$ ansible -i development 192.168.33.10 -m ping
192.168.33.10 | SUCCESS => {
"changed": false,
"ping": "pong"
}
$ ansible-playbook -i development playbook.yml --extra-vars "app_name=<your application name>"