Open flyemsafe opened 7 years ago
I'm experiencing this issue as well.
hi guys, did you execute the task local
?
If not, you must have the module installed on target system.
Update: The python used to install the module has been /opt/rh/python27/root/usr/bin/python (the one found in the path of the user), but ansible used /usr/bin/python.
You can try with -e 'ansible_python_interpreter=
Have fun
hi, i'm hit by this error,too.
the python-foreman module is installed on the target system but i still get this error. Is there any solution?
I have python-foreman installed, but yet I'm still getting "python-foreman module is required" error. What am i missing? Thanks!
pip list --format=legacy | grep foreman python-foreman (0.14.1)
ansible-playbook foreman.yml
PLAY [server01] ***
TASK [setup] *** ok: [server01]
TASK [Ensure User] ***** fatal: [server01]: FAILED! => {"changed": false, "failed": true, "msg": "python-foreman module is required. See https://github.com/Nosmoht/python-foreman."} to retry, use: --limit @/etc/ansible/roles/hci/foreman.retry
PLAY RECAP ***** server01 : ok=1 changed=0 unreachable=0 failed=1