Unable to run playbook on multiple hosts due to [Errno -3] Temporary failure in name resolution"}

511 views
Skip to first unread message

Richard

unread,
Jan 3, 2020, 4:40:12 AM1/3/20
to Ansible Project
I need help to run my playbook on multiple hosts
I'm only able to run on a single host using IP address

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

TASK [Get a timestamp] **********************************************************************************************************************************************************************************************************************
[DEPRECATION WARNING]: Distribution Ubuntu 16.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 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



Thanks

Dick Visser

unread,
Jan 3, 2020, 5:23:24 AM1/3/20
to ansible...@googlegroups.com
You need to make sure that name resolution on your control node is
working properly.
i.e., the name "ICSR" should be resolvable to an IP address.
> --
> You received this message because you are subscribed to the Google Groups "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/27e821e2-a73c-4450-97f5-0e8226386244%40googlegroups.com.



--
Dick Visser
Trust & Identity Service Operations Manager
GÉANT
Reply all
Reply to author
Forward
0 new messages