Ansible can not connect to LTM
Ansible 2.7.8 LTM 11.6.3.3
Our ansible can not connect to LTM 11.6.3,but can cconnet to 11.2.2. error like below with ltm 11.6.3.
[root@ansible ansible] ansible lc_2000s -m ping 192.168.10.51 | FAILED! => { "changed": false, "module_stderr": "Shared connection to 192.168.10.51 closed.\r\n", "module_stdout": " File \"/root/.ansible/tmp/ansible-tmp-1552535729.71-249816294231104/AnsiballZ_ping.py\", line 39\r\n with open(module, 'wb') as f:\r\n ^\r\nSyntaxError: invalid syntax\r\n", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1 } 192.168.10.52 | FAILED! => { "changed": false, "module_stderr": "Shared connection to 192.168.10.52 closed.\r\n", "module_stdout": " File \"/root/.ansible/tmp/ansible-tmp-1552535729.71-227266259443091/AnsiballZ_ping.py\", line 39\r\n with open(module, 'wb') as f:\r\n ^\r\nSyntaxError: invalid syntax\r\n", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1 } [root@ansible ansible]