Skip to content

Running Ansible

Bruno P. Kinoshita edited this page Oct 10, 2017 · 1 revision

For development, the command options are abstracted away, through the use of Vagrant. So just run vagrant up and then vagrant provision and you should be done.

Running vagrant up first will set-up Python correctly. Ubuntu 16.04 does not come with Python2, which is required for Ansible.

For production, you need to create a hosts file. Then you can edit this command line adding more parameters ansible-playbook -v -u ubuntu -s -i ../hosts playbook.yml

Clone this wiki locally