You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered: