# This topic needs a title

**URL:** <https://forum.ansible.com/t/this-topic-needs-a-title/33739>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [September 3, 2020, 12:25pm UTC](https://forum.ansible.com/t/this-topic-needs-a-title/33739 "2020-09-03T12:25:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![miqdad\_patwa](https://avatars.discourse-cdn.com/v4/letter/m/ebca7d/32.png) [@miqdad\_patwa](https://forum.ansible.com/u/miqdad_patwa)\
**Post date:** [September 3, 2020, 12:25pm UTC](https://forum.ansible.com/t/this-topic-needs-a-title/33739/1 "2020-09-03T12:25:45Z")

</div>

Hello Experts,

I normally use Jenkins for my jobs and now we switched to AWX. I am getting so many module errors and other errors.  
One of the module errors:

NXOS is cisco module but it gives this error. All my job templates mentioned to start by devops but somehow it is using root.

Can you confirm how can I fix this?

“ansible\_facts”: {},  
“msg”: “The following modules failed to execute: nxos\_facts\n”,  
“failed\_modules”: {  
“nxos\_facts”: {  
“failed”: true,  
“module\_stdout”: “”,  
“module\_stderr”: “Traceback (most recent call last):\n File "", line 102, in \n File "", line 94, in \_ansiballz\_main\n File "", line 40, in invoke\_module\n File "/usr/lib64/python2.7/runpy.py", line 188, in run\_module\n fname, loader, pkg\_name)\n File "/usr/lib64/python2.7/runpy.py", line 82, in \_run\_module\_code\n mod\_name, mod\_fname, mod\_loader, pkg\_name)\n File "/usr/lib64/python2.7/runpy.py", line 72, in \_run\_code\n exec code in run\_globals\n File "/tmp/ansible\_nxos\_facts\_payload\_46yTQG/ansible\_nxos\_facts\_payload.zip/ansible/modules/network/nxos/nxos\_facts.py", line 214, in \n File "/tmp/ansible\_nxos\_facts\_payload\_46yTQG/ansible\_nxos\_facts\_payload.zip/ansible/module\_utils/network/nxos/facts/facts.py", line 14, in \n File "/tmp/ansible\_nxos\_facts\_payload\_46yTQG/ansible\_nxos\_facts\_payload.zip/ansible/module\_utils/network/nxos/facts/legacy/base.py", line 9, in \n File "/tmp/ansible\_nxos\_facts\_payload\_46yTQG/ansible\_nxos\_facts\_payload.zip/ansible/module\_utils/network/nxos/nxos.py", line 48, in \n File "/var/lib/awx/venv/ansible/lib/python3.6/site-packages/yaml/ **init**.py", line 399\n class YAMLObject(metaclass=YAMLObjectMetaclass):\n ^\nSyntaxError: invalid syntax\n”,  
“exception”: “Traceback (most recent call last):\n File "", line 102, in \n File "", line 94, in \_ansiballz\_main\n File "", line 40, in invoke\_module\n File "/usr/lib64/python2.7/runpy.py", line 188, in run\_module\n fname, loader, pkg\_name)\n File "/usr/lib64/python2.7/runpy.py", line 82, in \_run\_module\_code\n mod\_name, mod\_fname, mod\_loader, pkg\_name)\n File "/usr/lib64/python2.7/runpy.py", line 72, in \_run\_code\n exec code in run\_globals\n File "/tmp/ansible\_nxos\_facts\_payload\_46yTQG/ansible\_nxos\_facts\_payload.zip/ansible/modules/network/nxos/nxos\_facts.py", line 214, in \n File "/tmp/ansible\_nxos\_facts\_payload\_46yTQG/ansible\_nxos\_facts\_payload.zip/ansible/module\_utils/network/nxos/facts/facts.py", line 14, in \n File "/tmp/ansible\_nxos\_facts\_payload\_46yTQG/ansible\_nxos\_facts\_payload.zip/ansible/module\_utils/network/nxos/facts/legacy/base.py", line 9, in \n File "/tmp/ansible\_nxos\_facts\_payload\_46yTQG/ansible\_nxos\_facts\_payload.zip/ansible/module\_utils/network/nxos/nxos.py", line 48, in \n File "/var/lib/awx/venv/ansible/lib/python3.6/site-packages/yaml/ **init**.py", line 399\n class YAMLObject(metaclass=YAMLObjectMetaclass):\n ^\nSyntaxError: invalid syntax\n”,  
“msg”: “MODULE FAILURE\nSee stdout/stderr for the exact error”,  
“rc”: 1  
}  
},  
“\_ansible\_verbose\_override”: true,  
“\_ansible\_no\_log”: false,  
“changed”: false  
}

Regards  
Miqdaad Patwa
