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 \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)
`