Ansible - Unable to reach the host getting Errno 101 Network is unreachable

32 views
Skip to first unread message

Santhosh Ganesan

unread,
Mar 16, 2020, 12:03:36 AM3/16/20
to Ansible Development
Newbie to ansible,

trying to run a playbook to one of host, 

</TASK [Gathering Facts] *********************************************************
ok: [172.28.158.115]

TASK [include_role : tes.kibana] ***********************************************

TASK [doe.kibana : Add Elasticsearch GPG key.] *********************************
fatal: [172.28.158.115]: FAILED! => {"changed": false, "msg": "failed to fetch key at https://artifacts.elastic.co/GPG-KEY-elasticsearch , error was: Request failed: <urlopen error [Errno 101] Network is unreachable>"}

PLAY RECAP *********************************************************************
172.28.158.115             : ok=1    changed=0    unreachable=0    failed=1    skipped=0    rescued=0    ignored=0  >

Curl to the url works fine at host as well as at node
ssh host to node works fine

Unable to find a  clue for this error

pls help

Brian Coca

unread,
Mar 30, 2020, 1:46:29 PM3/30/20
to Santhosh Ganesan, Ansible Development
not a development question. Use ansible-project ML or go to #ansible
on freenode.

--
----------
Brian Coca

Reply all
Reply to author
Forward
0 new messages