Hi Team,
One of the server encountered the below issue while executing setup module, Can anyone help ?
OS: redhat-release-5Server-5.11.0.9
Error message:
“ansible_facts”: {
“discovered_interpreter_python”: “/usr/bin/python”
},
“changed”: false,
“module_stderr”: “OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 58: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 17281\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 1\r\nShared connection to test1.lab.net closed.\r\n”,
“module_stdout”: " File "/var/lib/ansible/.ansible/tmp/ansible-tmp-1689584397.189888-17274-87468472332769/AnsiballZ_setup.py", line 72\r\n with open(args_path, ‘rb’) as f:\r\n ^\r\nSyntaxError: invalid syntax\r\n",
“msg”: “MODULE FAILURE\nSee stdout/stderr for the exact error”,
Thanks