On Friday 18 June 2021 at 22:53:26, nitesh shet wrote: 'i haven't written any playbook , i am just trying to run "ansible all -m ping" from shell.'
Okay. > [root@in-6centos50-dt ansible]# ssh [email protected] -p 8022 > [email protected]'s password: On Friday 18 June 2021 at 21:41:25, nitesh shet wrote: > Below are how my > inventory file is looks like:- > [servers] > x.y.z > > [servers:vars] > ansible_user=dummy > ansible_ssh_pass=dummy > ansible_python_interpreter=/usr/bin/python > ansible_port=22 > ansible_become=yes Your manual SSH was to port 8022; your configuration files says port 22. Your manual SSH was as user temproot, your configuration file says dummy. Try modifying these things to be consistent and let us know the outcome. Antony. -- There are 10 types of people in the world: those who understand binary notation, and those who don't. Please reply to the list; please *don't* CC me.
