有人知道解决以下错误的解决方案吗? 我怀疑这是因为Ansible使用的是Python3,并且此版本中不存在模块错误
xx.xx.xx.xx | FAILED! => {
"changed": false,
"failed": true,
"invocation": {
"module_name": "ping"
},
"module_stderr": "",
"module_stdout": "Traceback (most recent call last):\r\n File \"//.ansible/tmp/ansible-tmp-1532988739.2-140885958960505/ping\", line 44, in <module>\r\n import exceptions\r\nImportError: No module named 'exceptions'\r\n",
"msg": "MODULE FAILURE",
"parsed": false