KINDLY help on Installing Ansible Automation platform on Single Node

89 views
Skip to first unread message

Sandeep G

unread,
Apr 7, 2023, 7:44:23 AM4/7/23
to Ansible Project
Hi Everyone,

I am trying to install ansible automation platform on rhel 8.5. Unfortunately i am getting ssl connectivity errors when installing it Runningsetup.sh. Could anyone have any idea how to fix it ??? I have generated ssh key and mentioned the path in inventory file before running the setup.
Error Message :

fatal: [host.domain.net]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh:------------------------------------

Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).", "unreachable": true}

Inventory file details :

ansibleplat.domain.net

#node_type=local

[all:vars]

admin_password='xxxxxx'

pg_host=''

pg_port='5432'

pg_database='awx'

pg_username='awx'

pg_password='xxxxx'

pg_sslmode='prefer'

ansible_ssh_private_key_file="/home/user1/.ssh/id_rsa.pub"

registry_url='registry.redhat.io'

registry_username='user

registry_password='xxxxx'

 

[automationcontroller:vars]

peers=execution_nodes

ansible_user=xxxxx

ansible_ssh_private_key_file="/home/user1/.ssh/id_rsa.pub"


Sachin Yadav

unread,
Apr 10, 2023, 3:58:48 AM4/10/23
to Ansible Project
Username for Ansible Controle Manager and Remote targets should be same and you have to configure SSH and Set the PubkeyAuthentication should be yes
Reply all
Reply to author
Forward
0 new messages