On macOS Using AnsiballZ_avi_healthmonitor.py is throwing this error:
<127.0.0.1> EXEC /bin/sh -c '/usr/local/opt/python@2/bin/python2.7 /Users/123223/.ansible/tmp/ansible-tmp-1546636878.27-257638194948148/AnsiballZ_avi
_healthmonitor.py && sleep 0'
36498 1546636878.39933: opening command with Popen()
36498 1546636878.40287: done running command with Popen()
36498 1546636878.40318: getting output with communicate()
36498 1546636878.49552: done communicating
36498 1546636878.49560: done with local.exec_command()
36498 1546636878.49575: _low_level_execute_command() done: rc=1, stdout=, stderr=Traceback (most recent call last):
File "/Users/123223/.ansible/tmp/ansible-tmp-1546636878.27-257638194948148/AnsiballZ_avi_healthmonitor.py", line 113, in
_ansiballz_main()
File "/Users/123223/.ansible/tmp/ansible-tmp-1546636878.27-257638194948148/AnsiballZ_avi_healthmonitor.py", line 105, in _ansiballz_main
invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)
File "/Users/123223/.ansible/tmp/ansible-tmp-1546636878.27-257638194948148/AnsiballZ_avi_healthmonitor.py", line 48, in invoke_module
imp.load_module('main', mod, module, MOD_DESC)
File "/var/folders/nf/dfwgrk2s7zq2qmz9wy4d8q18nsnvjz/T/ansible_avi_healthmonitor_payload_ze3noB/main.py", line 213, in
File "/var/folders/nf/dfwgrk2s7zq2qmz9wy4d8q18nsnvjz/T/ansible_avi_healthmonitor_payload_ze3noB/main.py", line 201, in main
NameError: global name 'avi_common_argument_spec' is not defined
36459 1546636878.51350: getting the next task for host localhost
36459 1546636878.51357: done getting next task for host localhost
36459 1546636878.51361: ^ task is: None
36459 1546636878.51368: ^ state is: HOST STATE: block=3, task=8, rescue=0, always=0, run_state=ITERATING_COMPLETE, fail_state=FAILED_TASKS, pending_se
tup=False, tasks child state? (None), rescue child state? (None), always child state? (None), did rescue? False, did start at task? False
The full traceback is:
Traceback (most recent call last):
File "/Users/123223/.ansible/tmp/ansible-tmp-1546636878.27-257638194948148/AnsiballZ_avi_healthmonitor.py", line 113, in
File "/Users/123223/.ansible/tmp/ansible-tmp-1546636878.27-257638194948148/AnsiballZ_avi_healthmonitor.py", line 105, in _ansiballz_main
invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)
File "/Users/123223/.ansible/tmp/ansible-tmp-1546636878.27-257638194948148/AnsiballZ_avi_healthmonitor.py", line 48, in invoke_module
imp.load_module('main', mod, module, MOD_DESC)
File "/var/folders/nf/dfwgrk2s7zq2qmz9wy4d8q18nsnvjz/T/ansible_avi_healthmonitor_payload_ze3noB/main.py", line 213, in
File "/var/folders/nf/dfwgrk2s7zq2qmz9wy4d8q18nsnvjz/T/ansible_avi_healthmonitor_payload_ze3noB/main.py", line 201, in main
NameError: global name 'avi_common_argument_spec' is not defined
fatal: [localhost]: FAILED! => {
"changed": false,
"module_stderr": "Traceback (most recent call last):\n File "/Users/123223/.ansible/tmp/ansible-tmp-1546636878.27-257638194948148/AnsiballZ_avi
_healthmonitor.py", line 113, in \n _ansiballz_main()\n File "/Users/123223/.ansible/tmp/ansible-tmp-1546636878.27-257638194948148/Ansi
ballZ_avi_healthmonitor.py", line 105, in _ansiballz_main\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n File "/Users/123223/.ansib
le/tmp/ansible-tmp-1546636878.27-257638194948148/AnsiballZ_avi_healthmonitor.py", line 48, in invoke_module\n imp.load_module('main', mod, modul
e, MOD_DESC)\n File "/var/folders/nf/dfwgrk2s7zq2qmz9wy4d8q18nsnvjz/T/ansible_avi_healthmonitor_payload_ze3noB/main.py", line 213, in \n
File "/var/folders/nf/dfwgrk2s7zq2qmz9wy4d8q18nsnvjz/T/ansible_avi_healthmonitor_payload_ze3noB/main.py", line 201, in main\nNameError: global na
me 'avi_common_argument_spec' is not defined\n",
"module_stdout": "",
"msg": "MODULE FAILURE\nSee stdout/stderr for the exact error",
"rc": 1
ansible-galaxy list
- avinetworks.avise-csp, 18.1.3
- avinetworks.avise, 18.1.5
- avinetworks.avisdk, 18.2.1
- avinetworks.aviconfig, 18.1.5
- avinetworks.avicontroller-csp, 18.1.3
- avinetworks.avicontroller-vmware, 18.1.3
- avinetworks.avicontroller-azure, 18.1.3
- avinetworks.avicontroller, 18.1.5