Guest User

Untitled

a guest
Dec 15th, 2014
373
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.67 KB | None | 0 0
  1. ===== CASE 1 =====
  2. $ pwd
  3. /home/mehul/Projects/testvm/deployment
  4.  
  5. $ ansible --version
  6. ansible 1.8.1
  7. configured module search path = None
  8.  
  9. $ cat inventory/test_vm
  10. test_vm ansible_ssh_host=127.0.0.1 ansible_ssh_port=2222 ansible_ssh_user=vagrant
  11.  
  12. [web]
  13. test_vm
  14.  
  15. [freeswitch]
  16. test_vm
  17.  
  18. $ ansible-playbook -i inventory/test_vm --private-key=/home/mehul/Projects/testvm/.vagrant/machines/default/virtualbox/private_key -C freeswitch.yml -vvvv
  19.  
  20.  
  21. **RESULT**: SUCCESS
  22.  
  23.  
  24.  
  25. ===== CASE 2 =====
  26. $ pwd
  27. /home/mehul/Projects/testvm
  28.  
  29. $ ansible --version
  30. ansible 1.8.1
  31. configured module search path = None
  32.  
  33. $ cat deployment/inventory/test_vm
  34. test_vm ansible_ssh_host=127.0.0.1 ansible_ssh_port=2222 ansible_ssh_user=vagrant
  35.  
  36. [web]
  37. test_vm
  38.  
  39. [freeswitch]
  40. test_vm
  41.  
  42. $ ansible-playbook -i deployment/inventory/test_vm --private-key=/home/mehul/Projects/testvm/.vagrant/machines/default/virtualbox/private_key -C deployment/freeswitch.yml -vvvv
  43.  
  44. **RESULT**: SUCCESS
  45.  
  46.  
  47.  
  48. ===== CASE 3 =====
  49. $ pwd
  50. /home/mehul/Projects/testvm
  51.  
  52. $ ansible --version
  53. ansible 1.8.1
  54. configured module search path = None
  55.  
  56. $ cat .vagrant/provisioners/ansible/inventory/vagrant_ansible_inventory
  57. # Generated by Vagrant
  58.  
  59. 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
  60.  
  61. [freeswitch]
  62. default
  63.  
  64. $ ansible-playbook -i .vagrant/provisioners/ansible/inventory/vagrant_ansible_inventory -C deployment/freeswitch.yml -vvvv
  65.  
  66. **RESULT**: SUCCESS
  67.  
  68.  
  69.  
  70. ===== CASE 4 =====
  71. $ pwd
  72. /home/mehul/Projects/testvm
  73.  
  74. $ ansible --version
  75. ansible 1.8.1
  76. configured module search path = None
  77.  
  78. $ cat .vagrant/provisioners/ansible/inventory/vagrant_ansible_inventory
  79. # Generated by Vagrant
  80.  
  81. default ansible_ssh_host=127.0.0.1 ansible_ssh_port=2222
  82.  
  83. [freeswitch]
  84. default
  85.  
  86. $ 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
  87.  
  88. **RESULT**: FAILED
  89.  
  90.  
  91.  
  92. ===== CASE 5 =====
  93. $ pwd
  94. /home/mehul/Projects/testvm
  95.  
  96. $ ansible --version
  97. ansible 1.7.2
  98.  
  99. $ cat .vagrant/provisioners/ansible/inventory/vagrant_ansible_inventory
  100. # Generated by Vagrant
  101.  
  102. default ansible_ssh_host=127.0.0.1 ansible_ssh_port=2222
  103.  
  104. [freeswitch]
  105. default
  106.  
  107. $ 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
  108.  
  109. **RESULT**: SUCCESS
  110.  
  111.  
  112.  
  113. ===== CASE 6 =====
  114. $ pwd
  115. /home/mehul/Projects
  116.  
  117. $ ansible --version
  118. ansible 1.7.2
  119.  
  120. $ cat testvm/.vagrant/provisioners/ansible/inventory/vagrant_ansible_inventory
  121. # Generated by Vagrant
  122.  
  123. default ansible_ssh_host=127.0.0.1 ansible_ssh_port=2222
  124.  
  125. [freeswitch]
  126. default
  127.  
  128. $ 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
  129.  
  130. **RESULT**: SUCCESS
  131.  
  132.  
  133.  
  134. ===== CASE 7 =====
  135. $ pwd
  136. /home/mehul/Projects
  137.  
  138. $ ansible --version
  139. ansible 1.8.1
  140. configured module search path = None
  141.  
  142. $ cat testvm/.vagrant/provisioners/ansible/inventory/vagrant_ansible_inventory
  143. # Generated by Vagrant
  144.  
  145. default ansible_ssh_host=127.0.0.1 ansible_ssh_port=2222
  146.  
  147. [freeswitch]
  148. default
  149.  
  150. $ 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
  151.  
  152. **RESULT**: SUCCESS
Advertisement
Add Comment
Please, Sign In to add comment