# fatal: \[xhddcslab02\]: FAILED! =\> {"changed": false, "module\_stderr": "", "module\_stdout": "\\r\\n", "msg": "MODULE FAILURE\\nSee stdout/stderr for the exact error", "rc": 1}

**URL:** <https://forum.ansible.com/t/fatal-xhddcslab02-failed-changed-false-module-stderr-module-stdout-r-n-msg-module-failure-nsee-stdout-stderr-for-the-exact-error-rc-1/31718>\
**Category:** Ansible Project\
**Created:** [November 25, 2019, 10:17am UTC](https://forum.ansible.com/t/fatal-xhddcslab02-failed-changed-false-module-stderr-module-stdout-r-n-msg-module-failure-nsee-stdout-stderr-for-the-exact-error-rc-1/31718 "2019-11-25T10:17:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![VADREVU\_RAMADEVI](https://avatars.discourse-cdn.com/v4/letter/v/c57346/32.png) [@VADREVU\_RAMADEVI](https://forum.ansible.com/u/VADREVU_RAMADEVI)\
**Post date:** [November 25, 2019, 10:17am UTC](https://forum.ansible.com/t/fatal-xhddcslab02-failed-changed-false-module-stderr-module-stdout-r-n-msg-module-failure-nsee-stdout-stderr-for-the-exact-error-rc-1/31718/1 "2019-11-25T10:17:57Z")

</div>

While running a shell script which internallly calls python script,giving the module isssue.

Python version which installed on the host is Python 2.7.5

can someone help me ho eto get out of this module error

---

<div class="post-metadata">

**Author:** ![Dick\_Visser](https://avatars.discourse-cdn.com/v4/letter/d/d9b06d/32.png) [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Post date:** [November 25, 2019, 10:38am UTC](https://forum.ansible.com/t/fatal-xhddcslab02-failed-changed-false-module-stderr-module-stdout-r-n-msg-module-failure-nsee-stdout-stderr-for-the-exact-error-rc-1/31718/2 "2019-11-25T10:38:08Z")

</div>

That is almost zero information.  
Could you please tell clearly:

- What you are trying to achieve.  
- How you are doing this.  
- What problems you encounter.  
- Which command did you run, and what output did you get from that  
(copied as text, not as images/attachments/screenshots)  
- What the relevant tasks/playbooks/code/variables look like

---

<div class="post-metadata">

**Author:** ![VADREVU\_RAMADEVI](https://avatars.discourse-cdn.com/v4/letter/v/c57346/32.png) [@VADREVU\_RAMADEVI](https://forum.ansible.com/u/VADREVU_RAMADEVI)\
**Post date:** [November 25, 2019, 12:24pm UTC](https://forum.ansible.com/t/fatal-xhddcslab02-failed-changed-false-module-stderr-module-stdout-r-n-msg-module-failure-nsee-stdout-stderr-for-the-exact-error-rc-1/31718/3 "2019-11-25T12:24:45Z")

</div>

- hosts: “{{ targets }}”  
gather\_facts: yes  
tasks:

- name: “### Run lspci: {{ item }}”  
shell: “bash /opt/xilinx/xrt/setup.sh; {{ playbook\_dir }}/alveo\_tests.sh -p -l {{ output\_dir }}/lspci.log”  
become: yes  
register: lspci

- debug: var=lspci.stdout\_lines

This is my playbook  
setup.sh calls a python script , while running thius script iam finding module error.

My python version 2.7.5

---

<div class="post-metadata">

**Author:** ![Akasurde](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/akasurde/32/230_2.png) [@Akasurde](https://forum.ansible.com/u/Akasurde)\
**Post date:** [November 25, 2019, 12:26pm UTC](https://forum.ansible.com/t/fatal-xhddcslab02-failed-changed-false-module-stderr-module-stdout-r-n-msg-module-failure-nsee-stdout-stderr-for-the-exact-error-rc-1/31718/4 "2019-11-25T12:26:56Z")

</div>

This is still very little information to debug. Could you please provide console.log, contents of setup.sh and other information ?

---

<div class="post-metadata">

**Author:** ![Richard2](https://avatars.discourse-cdn.com/v4/letter/r/eb8c5e/32.png) [@Richard2](https://forum.ansible.com/u/Richard2)\
**Post date:** [December 4, 2019, 2:02am UTC](https://forum.ansible.com/t/fatal-xhddcslab02-failed-changed-false-module-stderr-module-stdout-r-n-msg-module-failure-nsee-stdout-stderr-for-the-exact-error-rc-1/31718/5 "2019-12-04T02:02:50Z")

</div>

I need help fixing --“[Errno -3] Temporary failure in name resolution”}

ansible@denchpw26:~$ ansible-playbook -i ICSR, -u ansible -k -e ansible\_network\_os=ios test\_playbook.yml  
SSH password:

PLAY [Pre and Post Cisco show Command] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

TASK [Get a timestamp] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
[DEPRECATION WARNING]: Distribution Ubuntu 18.04 on host ICSR should use /usr/bin/python3, but is using /usr/bin/python  
for backward compatibility with prior Ansible releases. A future Ansible release will default to using the discovered  
platform python for this host. See [https://docs.ansible.com/ansible/2.9/reference\_appendices/interpreter\_discovery.html](https://docs.ansible.com/ansible/2.9/reference_appendices/interpreter_discovery.html)  
for more information. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting  
deprecation\_warnings=False in ansible.cfg.  
changed: [ICSR]

TASK [Show commands] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
fatal: [ICSR]: FAILED! =\> {“changed”: false, “msg”: “[Errno -3] Temporary failure in name resolution”}

PLAY RECAP \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
ICSR : ok=1 changed=1 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
