I get the following error when trying to execute the maven_artifact plugin
fatal: [172.28.128.6]: FAILED! => {"changed": false, "failed": true,
"module_stderr": "", "module_stdout": "Traceback (most recent call
last):\r\n File
\"/home/ubuntu/.ansible/tmp/ansible-tmp-1453190793.13-232530634322851/maven_artifact\",
line 25, in <module>\r\n from lxml import etree\r\nImportError: No
module named lxml\r\n", "msg": "MODULE FAILURE", "parsed": false}
I have followed the instructions at: http://lxml.de/installation.html
I have also followed the instructions at:
http://stackoverflow.com/questions/6504810/how-to-install-lxml-on-ubuntu
But the module is still not found.
What am I doing wrong?
Here's my environment:
uname -a
Linux vagrant-ubuntu-trusty-64 3.13.0-71-generic #114-Ubuntu SMP Tue Dec 1
02:34:22 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
$ ansible --version
ansible 2.0.0.1
config file = /home/vagrant/project/ansible.cfg
configured module search path = Default w/o overrides
$ pip list | grep lxml
lxml (3.3.3)
--
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/a7d1ac18-8ebb-434d-97a1-9cc84ce3f610%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.