Found a way through setting up 
my proxy under environment: in ansible playbook,

now facing this error

FAILED! => {"changed": false, "msg": "Failed to download packages: Cannot 
download 7.6.1/elasticsearch-7.6.1-x86_64.rpm: All mirrors were tried", 
"results": []}

any clue to this?

On Monday, March 16, 2020 at 3:07:36 PM UTC+11, Santhosh Ganesan wrote:
>
> 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
>

-- 
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-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/af54956f-c528-4346-9df8-7bae4275c1ff%40googlegroups.com.

Reply via email to