Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ===== CASE 1 =====
- $ pwd
- /home/mehul/Projects/testvm/deployment
- $ ansible --version
- ansible 1.8.1
- configured module search path = None
- $ cat inventory/test_vm
- test_vm ansible_ssh_host=127.0.0.1 ansible_ssh_port=2222 ansible_ssh_user=vagrant
- [web]
- test_vm
- [freeswitch]
- test_vm
- $ ansible-playbook -i inventory/test_vm --private-key=/home/mehul/Projects/testvm/.vagrant/machines/default/virtualbox/private_key -C freeswitch.yml -vvvv
- **RESULT**: SUCCESS
- ===== CASE 2 =====
- $ pwd
- /home/mehul/Projects/testvm
- $ ansible --version
- ansible 1.8.1
- configured module search path = None
- $ cat deployment/inventory/test_vm
- test_vm ansible_ssh_host=127.0.0.1 ansible_ssh_port=2222 ansible_ssh_user=vagrant
- [web]
- test_vm
- [freeswitch]
- test_vm
- $ ansible-playbook -i deployment/inventory/test_vm --private-key=/home/mehul/Projects/testvm/.vagrant/machines/default/virtualbox/private_key -C deployment/freeswitch.yml -vvvv
- **RESULT**: SUCCESS
- ===== CASE 3 =====
- $ pwd
- /home/mehul/Projects/testvm
- $ ansible --version
- ansible 1.8.1
- configured module search path = None
- $ cat .vagrant/provisioners/ansible/inventory/vagrant_ansible_inventory
- # Generated by Vagrant
- default ansible_ssh_host=127.0.0.1 ansible_ssh_port=2222 ansible_ssh_private_keyfile=/home/mehul/Projects/testvm/.vagrant/machines/default/virtualbox/private_key
- [freeswitch]
- default
- $ ansible-playbook -i .vagrant/provisioners/ansible/inventory/vagrant_ansible_inventory -C deployment/freeswitch.yml -vvvv
- **RESULT**: SUCCESS
- ===== CASE 4 =====
- $ pwd
- /home/mehul/Projects/testvm
- $ ansible --version
- ansible 1.8.1
- configured module search path = None
- $ cat .vagrant/provisioners/ansible/inventory/vagrant_ansible_inventory
- # Generated by Vagrant
- default ansible_ssh_host=127.0.0.1 ansible_ssh_port=2222
- [freeswitch]
- default
- $ ansible-playbook -i .vagrant/provisioners/ansible/inventory/vagrant_ansible_inventory --private-key=/home/mehul/Projects/testvm/.vagrant/machines/default/virtualbox/private_key -C deployment/freeswitch.yml -vvvv
- **RESULT**: FAILED
- ===== CASE 5 =====
- $ pwd
- /home/mehul/Projects/testvm
- $ ansible --version
- ansible 1.7.2
- $ cat .vagrant/provisioners/ansible/inventory/vagrant_ansible_inventory
- # Generated by Vagrant
- default ansible_ssh_host=127.0.0.1 ansible_ssh_port=2222
- [freeswitch]
- default
- $ ansible-playbook -i .vagrant/provisioners/ansible/inventory/vagrant_ansible_inventory --private-key=/home/mehul/Projects/testvm/.vagrant/machines/default/virtualbox/private_key -C deployment/freeswitch.yml -vvvv
- **RESULT**: SUCCESS
- ===== CASE 6 =====
- $ pwd
- /home/mehul/Projects
- $ ansible --version
- ansible 1.7.2
- $ cat testvm/.vagrant/provisioners/ansible/inventory/vagrant_ansible_inventory
- # Generated by Vagrant
- default ansible_ssh_host=127.0.0.1 ansible_ssh_port=2222
- [freeswitch]
- default
- $ ansible-playbook -i testvm/.vagrant/provisioners/ansible/inventory/vagrant_ansible_inventory --private-key=/home/mehul/Projects/testvm/.vagrant/machines/default/virtualbox/private_key -C deploy/freeswitch.yml -vvvv
- **RESULT**: SUCCESS
- ===== CASE 7 =====
- $ pwd
- /home/mehul/Projects
- $ ansible --version
- ansible 1.8.1
- configured module search path = None
- $ cat testvm/.vagrant/provisioners/ansible/inventory/vagrant_ansible_inventory
- # Generated by Vagrant
- default ansible_ssh_host=127.0.0.1 ansible_ssh_port=2222
- [freeswitch]
- default
- $ ansible-playbook -i testvm/.vagrant/provisioners/ansible/inventory/vagrant_ansible_inventory --private-key=/home/mehul/Projects/testvm/.vagrant/machines/default/virtualbox/private_key -C deploy/freeswitch.yml -vvvv
- **RESULT**: SUCCESS
Advertisement
Add Comment
Please, Sign In to add comment