>From what I saw in my environment I got this error when the script wasn't 
in my root directory.

[root@xxx API]# ./my_ansible.py Traceback (most recent call last):   
     File "./my_ansible.py", line 5, in <module>
        from ansible.parsing.dataloader import DataLoader   
     File "/home/xxx/projects/API/ansible.py", line 5, in <module>ImportError: 
No module named parsing.dataloader

Once I moved it to /root - it ran fine:

[root@xxx ~]# ./my_ansible.py[root@xxx ~]#

-- 
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/4d7b6321-1bd8-4a3c-a2a7-f9b4488275ec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to