with ansible 0.9 if there is no /etc/ansible/hosts file on your executing host you will get a Traceback from Python complaining about the global inventory file being no present, if you don't have an /etc/ansible/hosts instead do a: 'ansible -i someinventoryfile foo.example.com -m setup'
Achievements
1
Karma
0
Total ProTip Views
Charity
Fork and commit to someone's open source project in need
with ansible 0.9 if there is no /etc/ansible/hosts file on your executing host you will get a Traceback from Python complaining about the global inventory file being no present, if you don't have an /etc/ansible/hosts instead do a: 'ansible -i someinventoryfile foo.example.com -m setup'