ow@fenchurch:~$ ansible
10.208.94.53 -i .ans/cc.hosts -m setup
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ImportError: No module named fcntl
[WARNING]: Platform aix on host
10.208.94.53 is using the discovered Python interpreter at /usr/bin/python, but future
installation of another Python interpreter could change this. See
https://docs.ansible.com/ansible/2.9/reference_appendices/interpreter_discovery.html for more information.
10.208.94.53 | FAILED! => {
"ansible_facts": {
"discovered_interpreter_python": "/usr/bin/python"
},
"changed": false,
"module_stderr": "Shared connection to
10.208.94.53 closed.\r\n",
"module_stdout": "Traceback (most recent call last):\r\n File \"/.ansible/tmp/ansible-tmp-1604651211.075684-94123689453034/AnsiballZ_setup.py\", line 102, in <module>\r\n _ansiballz_main()\r\n File \"/.ansible/tmp/ansible-tmp-1604651211.075684-94123689453034/AnsiballZ_setup.py\", line 94, in _ansiballz_main\r\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\r\n File \"/.ansible/tmp/ansible-tmp-1604651211.075684-94123689453034/AnsiballZ_setup.py\", line 37, in invoke_module\r\n from ansible.module_utils import basic\r\n File \"/tmp/ansible_setup_payload_pKROqH/ansible_setup_payload.zip/ansible/module_utils/basic.py\", line 39, in <module>\r\nImportError: No module named fcntl\r\n",
"msg": "MODULE FAILURE\nSee stdout/stderr for the exact error",
"rc": 1
}