Hi, I am new to ansible and learning ansible from a tutorial. I am using
windows 7 (unfortunately) and Vagrant with VirtualBox. I have installed
ansible 2.0.0 on one vagrant ubuntu box and the ansible inventory file has
an entry for another ubuntu vagrant box.
When running 'ansible all -m ping' it returns with success message however
when executing the 'ansible-playbook <playbook-name>' it returns with the
below error. Can you please advise if I am missing something.
Traceback (most recent call last):
File "/usr/local/bin/ansible-playbook", line 5, in <module>
pkg_resources.run_script('ansible==2.0.0', 'ansible-playbook')
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 528, in
run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1394, in
run_script
execfile(script_filename, namespace, namespace)
File
"/usr/local/lib/python2.7/dist-packages/ansible-2.0.0-py2.7.egg/EGG-INFO/scripts/ansible-playbook",
line 1, in <module>
ansible
NameError: name 'ansible' is not defined
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/f2e89ce9-91db-4717-b5ab-4b29ba63787a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.