Re: [ansible-project] Ansible - errno 101 network is unreachable

2020-03-17 Thread Santhosh Ganesan
The actual ansible error is <172.28.158.115> (1, b'\r\n{"msg": "Failed to download packages: Cannot download 7.6.1/elasticsearch-7.6.1-x86_64.rpm: All mirrors were tried", "results": [], "failed": true, "exception": " File

Re: [ansible-project] Ansible - errno 101 network is unreachable

2020-03-17 Thread Santhosh Ganesan
Hi Nick, I did add the proxy to the vars in elk-playbook.yml , Accessing through ansible only fails The below is my ansible section, where am doing the test --- - include_tasks: setup-RedHat.yml when: ansible_os_family == 'RedHat' - include_tasks: setup-Debian.yml when: ansible_os_family

Re: [ansible-project] Ansible - errno 101 network is unreachable

2020-03-17 Thread Nick Venenga
It sounds like you require a network proxy but haven't configured dnf to use it correctly. See https://unix.stackexchange.com/a/436562/249351 On Tuesday, March 17, 2020 at 7:20:54 PM UTC-4, Santhosh Ganesan wrote: > > anyhow newbie communication makes bad, > > tried setting up a new vm tried a

Re: [ansible-project] Ansible - errno 101 network is unreachable

2020-03-17 Thread Santhosh Ganesan
anyhow newbie communication makes bad, tried setting up a new vm tried a fresh ansible-playbook run on the vm, still getting the same error dunno where it falls On Wednesday, March 18, 2020 at 9:26:06 AM UTC+11, Dick Visser wrote: > > I'm not going to waste more of my time by having

Re: [ansible-project] Ansible - errno 101 network is unreachable

2020-03-17 Thread Dick Visser
I'm not going to waste more of my time by having information spoon fed like this. We're done. On Tue, 17 Mar 2020 at 22:52, Santhosh Ganesan wrote: > > followed few help from this link > https://access.redhat.com/discussions/4222851#comment-1751291 like dnf > upgrade -y --releasever=8 > >

Re: [ansible-project] Ansible - errno 101 network is unreachable

2020-03-17 Thread Santhosh Ganesan
followed few help from this link https://access.redhat.com/discussions/4222851#comment-1751291 like dnf upgrade -y --releasever=8 after that on first run of ansible-playbook -vvv --flush-cache elk-playbook.yml Escalation succeeded <172.28.158.118> (1, b'\r\n{"msg": "Failed to download

Re: [ansible-project] Ansible - errno 101 network is unreachable

2020-03-17 Thread Santhosh Ganesan
--- - hosts: all become: yes tasks: - ping: - include_role: name: doe.elasticsearch I hope this helps On Tue, Mar 17, 2020 at 6:51 PM Dick Visser wrote: > Hii > > On Mon, 16 Mar 2020 at 22:51, Santhosh Ganesan wrote: > > > elk-playbook has two tasks, > > ping and include role tes.elasticsearch

Re: [ansible-project] Ansible - errno 101 network is unreachable

2020-03-17 Thread Dick Visser
Hii On Mon, 16 Mar 2020 at 22:51, Santhosh Ganesan wrote: > elk-playbook has two tasks, > ping and include role tes.elasticsearch This is still not enough information to work with. Post the *actual* playbook - not a one line human interpretation of it. -- Dick Visser Trust & Identity

Re: [ansible-project] Ansible - errno 101 network is unreachable

2020-03-16 Thread Santhosh Ganesan
Command : ansible-playbook elk-playbook.yml Output: PLAY [all] * TASK [Gathering Facts] * ok: [172.28.158.115] TASK [ping]

Re: [ansible-project] Ansible - errno 101 network is unreachable

2020-03-16 Thread Dick Visser
Hi Thanks for using ansible. To answer your question more information is needed. Could you please describe clearly all of the below: - Which commands did you run, and what actual output did you get (copied as plain text - not as screenshots, images, or other binary attachments). - What do the

[ansible-project] Ansible - errno 101 network is unreachable

2020-03-15 Thread Santhosh Ganesan
Newbie to ansible, trying to run a playbook to one of host, {"changed": false, "msg": "failed to fetch key at https://artifacts.elastic.co/GPG-KEY-elasticsearch , error was: Request failed: "} PLAY RECAP * 172.28.158.115