Hey ,
do we have to put variable in hosts configuration for connecting host with awx ui using ssh ?
ansible_host: 172.16.145.49
ansible_connection: local
//ansible_python_interpreter: ‘{{ ansible_playbook_python }}’
ansible_ssh_pass: Suchi@123
ansible_sudo_pass: Suchi@123
ansible_connection: ssh
ansible_port: 22
ansible_user: suchi
ansible_become: true
this is my variables but it gives error : “msg”: “Failed to connect to the host via ssh: ssh: connect to host 172.19.0.3 port 22: Connection timed out”,
but when i remove ansible_ssh_pass, ansible_ssh_connection , ssudo_pass
ping playbook working properly but playbook which install package is not working