Debugging AnsiballZ Playbook Errors

Posted on

Hello,

The Redhat Tower 3.8.6 and ansible 2.9.27.

One of the modules (napalm_install_config.py) that my playbook is calling is failing and I can see this in the log, example:

Traceback (most recent call last):
File "/var/lib/awx/.ansible/tmp/ansible-local-3rxRMUx/ansible-tmp-1720792733.69-31-195727518534311/AnsiballZ_napalm_install_config.py", line 102, in
_ansiballz_main()

I studied AnsiballZ, but cannot figure out how I can look at the AnsiballZ wrapped module (AnsiballZ_napalm_install_config.py) so that I can look at the specific line that has the error.

I am thinking that it is a temp file that is deleted and cannot figure out to prevent Tower from deleting it.

Thanks,
Barry

Responses