Ansible fails to connect with SSH (banner exchange)
Try to use ansible_user
instead ansible_ssh_user
and ansible_password
instead ansible_ssh_pass
. It depends of your ansible
version.
Also you may need to place [group:vars]
after [group]
section in the inventory file.
There is simple way to check difference
ansible 192.168.15.29 -i your_hosts_file -m ping -e "ansible_ssh_user=remote ansible_ssh_pass=password"
or
ansible 192.168.15.29 -i your_hosts_file -m ping -e "ansible_user=remote ansible_password=password"