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.
On Wed, 4 Dec 2019 at 03:05, 'Richard' via Ansible Project < [email protected]> wrote: > 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 > 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 > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/cc7d3748-946a-4937-abce-c39e7c99285c%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/cc7d3748-946a-4937-abce-c39e7c99285c%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Sent from a mobile device - please excuse the brevity, spelling and punctuation. -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAL8fbwMBEQtMRVo4qUuqKr9vHoW_PGvtBSvYE_5WDX%2B8R04Evw%40mail.gmail.com.
