192.168.66.117 | FAILED! => {
"changed": false,
"failed": true,
"module_stderr": "Shared connection to 192.168.66.117 closed.\r\n",
"module_stdout": "Traceback (most recent call last):\r\n File \"/root/.ansible/tmp/ansible-tmp-1497573772.76-175999781361840/ping.py\", line 123, in \r\n f.write(z.read('ansible_module_ping.py'))\r\n File \"/usr/local/lib/python2.7/zipfile.py\", line 935, in read\r\n return self.open(name, \"r\", pwd).read()\r\n File \"/usr/local/lib/python2.7/zipfile.py\", line 1010, in open\r\n close_fileobj=should_close)\r\n File \"/usr/local/lib/python2.7/zipfile.py\", line 526, in init\r\n self._decompressor = zlib.decompressobj(-15)\r\nAttributeError: 'NoneType' object has no attribute 'decompressobj'\r\n",
"msg": "MODULE FAILURE",
"rc": 0
}
powershell 版本太低。3.0+就可以了