# I need help fixing "\[Errno -3\] Temporary failure in name resolution"}

**URL:** <https://forum.ansible.com/t/i-need-help-fixing-errno-3-temporary-failure-in-name-resolution/31756>\
**Category:** Ansible Project\
**Tags:** ubuntu\
**Created:** [December 4, 2019, 2:04am UTC](https://forum.ansible.com/t/i-need-help-fixing-errno-3-temporary-failure-in-name-resolution/31756 "2019-12-04T02:04:59Z")\
**Posts on this page:** 3\
**Page:** 1

<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:04am UTC](https://forum.ansible.com/t/i-need-help-fixing-errno-3-temporary-failure-in-name-resolution/31756/1 "2019-12-04T02:04:59Z")

</div>

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

---

<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:** [December 4, 2019, 4:41am UTC](https://forum.ansible.com/t/i-need-help-fixing-errno-3-temporary-failure-in-name-resolution/31756/2 "2019-12-04T04:41:13Z")

</div>

It’s pretty obvious from the error. You need to fix the name resolution on your control host.

This is part of basic system administration and not something specific to ansible though.

---

<div class="post-metadata">

**Author:** ![Sunil\_Amperayani](https://avatars.discourse-cdn.com/v4/letter/s/848f3c/32.png) [@Sunil\_Amperayani](https://forum.ansible.com/u/Sunil_Amperayani)\
**Post date:** [December 4, 2019, 4:42am UTC](https://forum.ansible.com/t/i-need-help-fixing-errno-3-temporary-failure-in-name-resolution/31756/3 "2019-12-04T04:42:59Z")

</div>

Update /etc/hosts or check your resolver in /etc/resolv.conf file and rerun the playbook
