Hi Team,
did anyone face this issue, it was working fine but today i am getting below error not sure what happened:
fatal: [localhost]: FAILED! => {
“ansible_facts”: {},
“changed”: false,
“failed_modules”: {
“setup”: {
“exception”: “Traceback (most recent call last):\n File "/root/.ansible/tmp/ansible-tmp-1595260298.32-3449-114062721166446/AnsiballZ_setup.py", line 102, in \n _ansiballz_main()\n File "/root/.ansible/tmp/ansible-tmp-1595260298.32-3449-114062721166446/AnsiballZ_setup.py", line 20, in _ansiballz_main\n import tempfile\n File "/opt/rh/python27/root/usr/lib64/python2.7/tempfile.py", line 32, in \n import io as _io\n File "/opt/rh/python27/root/usr/lib64/python2.7/io.py", line 51, in \n import _io\nImportError: /opt/rh/python27/root/usr/lib64/python2.7/lib-dynload/_io.so: undefined symbol: _PyErr_ReplaceException\n”,
“failed”: true,
“module_stderr”: “Traceback (most recent call last):\n File "/root/.ansible/tmp/ansible-tmp-1595260298.32-3449-114062721166446/AnsiballZ_setup.py", line 102, in \n _ansiballz_main()\n File "/root/.ansible/tmp/ansible-tmp-1595260298.32-3449-114062721166446/AnsiballZ_setup.py", line 20, in _ansiballz_main\n import tempfile\n File "/opt/rh/python27/root/usr/lib64/python2.7/tempfile.py", line 32, in \n import io as _io\n File "/opt/rh/python27/root/usr/lib64/python2.7/io.py", line 51, in \n import _io\nImportError: /opt/rh/python27/root/usr/lib64/python2.7/lib-dynload/_io.so: undefined symbol: _PyErr_ReplaceException\n”,
“module_stdout”: “”,
“msg”: “MODULE FAILURE\nSee stdout/stderr for the exact error”,
“rc”: 1
}
},
“msg”: “The following modules failed to execute: setup\n”
}