Re: [ansible-project] Re: Getting Error while running playbook "msg": "[Errno None] Unable to connect to port 22

2022-06-23 Thread Shashank Chandra
Guys, from ansible version 2.9 onwards, we need to add below lines in ansible.cfg file. [paramiko_connection] proxy_command = "ssh -o StrictHostKeyChecking=no -W %h:%p -q userid@JumpServerIP" On Friday, 23 July 2021 at 11:04:25 UTC+5:30 subrat@gmail.com wrote: > Any inputs? > > On Sat,

Re: [ansible-project] Re: Getting Error while running playbook "msg": "[Errno None] Unable to connect to port 22

2021-07-22 Thread subrat mangaraj
Any inputs? On Sat, Jul 10, 2021 at 1:25 PM subrat mangaraj wrote: > Hi, > Can someone guide > > On Fri, 25 Jun 2021, 23:26 subrat mangaraj, > wrote: > >> Hi >> Can someone guide. >> >> On Thu, 24 Jun 2021, 10:14 subrat mangaraj, >> wrote: >> >>> Hello All, >>> >>> Can someone guide. >>> >>>

Re: [ansible-project] Re: Getting Error while running playbook "msg": "[Errno None] Unable to connect to port 22

2021-07-10 Thread subrat mangaraj
Hi, Can someone guide On Fri, 25 Jun 2021, 23:26 subrat mangaraj, wrote: > Hi > Can someone guide. > > On Thu, 24 Jun 2021, 10:14 subrat mangaraj, > wrote: > >> Hello All, >> >> Can someone guide. >> >> On Mon, Jun 21, 2021 at 3:36 PM subrat mangaraj < >> subrat.manga...@gmail.com> wrote: >>

Re: [ansible-project] Re: Getting Error while running playbook "msg": "[Errno None] Unable to connect to port 22

2021-06-25 Thread subrat mangaraj
Hi Can someone guide. On Thu, 24 Jun 2021, 10:14 subrat mangaraj, wrote: > Hello All, > > Can someone guide. > > On Mon, Jun 21, 2021 at 3:36 PM subrat mangaraj > wrote: > >> >> >> Hello Experts, >>> >>> Can someone guide. >>> >>> Br// >>> Subrat >>> >>> On Sun, 20 Jun 2021, 10:19 subrat

Re: [ansible-project] Re: Getting Error while running playbook "msg": "[Errno None] Unable to connect to port 22

2021-06-23 Thread subrat mangaraj
Hello All, Can someone guide. On Mon, Jun 21, 2021 at 3:36 PM subrat mangaraj wrote: > > > Hello Experts, >> >> Can someone guide. >> >> Br// >> Subrat >> >> On Sun, 20 Jun 2021, 10:19 subrat mangaraj, >>> wrote: >>> Hello Experts, Can you plz guide. Br// Subrat

Re: [ansible-project] Re: Getting Error while running playbook "msg": "[Errno None] Unable to connect to port 22

2021-06-21 Thread subrat mangaraj
Hello Experts, > > Can someone guide. > > Br// > Subrat > > On Sun, 20 Jun 2021, 10:19 subrat mangaraj, >> wrote: >> >>> Hello Experts, >>> Can you plz guide. >>> Br// >>> Subrat >>> >>> On Fri, 18 Jun 2021, 20:14 subrat mangaraj, >>> wrote: >>> Hell Experts, Can anyone check and guide

Re: [ansible-project] Re: Getting Error while running playbook "msg": "[Errno None] Unable to connect to port 22

2021-06-19 Thread subrat mangaraj
Hello Experts, Can you plz guide. Br// Subrat On Fri, 18 Jun 2021, 20:14 subrat mangaraj, wrote: > Hell Experts, > Can anyone check and guide me? > > Br// > Subrat > > On Thu, Jun 17, 2021 at 5:57 AM subrat mangaraj > wrote: > >> Hi Phil, >> Same i did but getting ssh banner error. >>

Re: [ansible-project] Re: Getting Error while running playbook "msg": "[Errno None] Unable to connect to port 22

2021-06-18 Thread subrat mangaraj
Hell Experts, Can anyone check and guide me? Br// Subrat On Thu, Jun 17, 2021 at 5:57 AM subrat mangaraj wrote: > Hi Phil, > Same i did but getting ssh banner error. > Ansible.cfg config > > [defaults]: > inventory = /etc/ansible/hosts > ansible_python_interpreter=/usr/bin/python3 >

Re: [ansible-project] Re: Getting Error while running playbook "msg": "[Errno None] Unable to connect to port 22

2021-06-16 Thread subrat mangaraj
Hi Phil, Same i did but getting ssh banner error. Ansible.cfg config [defaults]: inventory = /etc/ansible/hosts ansible_python_interpreter=/usr/bin/python3 host_key_checking = no look_for_keys = False .ssh config sh-3.2# cat /Users/veda/.ssh/config Host tot Hostname x.x.x.x User veda1

Re: [ansible-project] Re: Getting Error while running playbook "msg": "[Errno None] Unable to connect to port 22

2021-06-16 Thread phil.gr...@gmail.com
https://docs.ansible.com/ansible/latest/reference_appendices/faq.html#how-do-i-configure-a-jump-host-to-access-servers-that-i-have-no-direct-access-to On Wednesday, 16 June 2021 at 14:31:48 UTC+1 subrat@gmail.com wrote: > Hello Experts, > > Can someone reply. > > On Tue, Jun 15, 2021 at 7:54

Re: [ansible-project] Re: Getting Error while running playbook "msg": "[Errno None] Unable to connect to port 22

2021-06-16 Thread subrat mangaraj
Hello Experts, Can someone reply. On Tue, Jun 15, 2021 at 7:54 PM subrat mangaraj wrote: > Hello Experts > Can someone guide here. > Br// > Subrat > > On Mon, 14 Jun 2021, 21:53 subrat mangaraj, > wrote: > >> Hello Reg, >> Can you share your inputs. >> I am trying to fetch show output from

Re: [ansible-project] Re: Getting Error while running playbook "msg": "[Errno None] Unable to connect to port 22

2021-06-15 Thread subrat mangaraj
Hello Experts Can someone guide here. Br// Subrat On Mon, 14 Jun 2021, 21:53 subrat mangaraj, wrote: > Hello Reg, > Can you share your inputs. > I am trying to fetch show output from ASR Cisco devices using Mac PC via > jump host to managed host.It should run all cli command from playbook and >

Re: [ansible-project] Re: Getting Error while running playbook "msg": "[Errno None] Unable to connect to port 22

2021-06-14 Thread subrat mangaraj
Hello Reg, Can you share your inputs. I am trying to fetch show output from ASR Cisco devices using Mac PC via jump host to managed host.It should run all cli command from playbook and login all modes using jump host and save different files into destination path. But for me it’s looks like issue

Re: [ansible-project] Re: Getting Error while running playbook "msg": "[Errno None] Unable to connect to port 22

2021-06-10 Thread subrat mangaraj
Thanks Reg for your reply. Yes i can able to ping and able to do ssh to the server. In simpler way from MaC terminal i can directly login to the server via jump server. There is no issue looks like in .ssh configuration. Is there any issue in python version with brew ansible. Ansible.cfg

Re: [ansible-project] Re: Getting Error while running playbook "msg": "[Errno None] Unable to connect to port 22

2021-06-10 Thread reg...@gmail.com
*Also i can see it is trying connection with user root although i have defined new user to login to the managed hosts.* First, I would check if the user can login to that server normally. If not, Ansible won't be able to connect either. :) When you run the playbook are you running it logged

Re: [ansible-project] Re: Getting Error while running playbook "msg": "[Errno None] Unable to connect to port 22

2021-06-10 Thread subrat mangaraj
Hello Experts, Can someone suggest. On Mon, Jun 7, 2021 at 4:35 PM subrat mangaraj wrote: > Hello Experts, > Any lead. > > On Sunday, June 6, 2021 at 1:01:41 PM UTC+5:30 subrat mangaraj wrote: > >> Hello Experts, >> >> I have installed ansible using homebrew. >> >> While trying to run few IOS

[ansible-project] Re: Getting Error while running playbook "msg": "[Errno None] Unable to connect to port 22

2021-06-07 Thread subrat mangaraj
Hello Experts, Any lead. On Sunday, June 6, 2021 at 1:01:41 PM UTC+5:30 subrat mangaraj wrote: > Hello Experts, > > I have installed ansible using homebrew. > > While trying to run few IOS command from my mac PC via jump server I am > getting below errors. > > * ESTABLISH LOCAL CONNECTION FOR

[ansible-project] Re: Getting Error while running playbook

2018-09-24 Thread Tony Chia
try adding this to your ansible.cfg host_key_checking=False HOST_KEY_CHECKING: default: true description: Set this to "False" if you want to avoid host key checking by the underlying tools Ansible uses to connect to the host env: - {name: ANSIBLE_HOST_KEY_CHECKING} ini: - {key: