[gist] https://gist.github.com/sakamossan/43527396e51148dde504
Basically, it starts with the following command (provisioned from vagrant up
)
#Assuming that vagrant and ansible are included
$ git clone https://gist.github.com/43527396e51148dde504.git ansibletest
$ cd $_ && vagrant up
Play with the included playbook.yml and see if you can do this.
$ vi playbook.yml
$ ansible-playbook -i hosts playbook.yml -v
Recommended Posts