Username for Ansible Controle Manager and Remote targets should be same and 
you have to configure SSH and Set the* PubkeyAuthentication *should be yes

On Friday, 7 April 2023 at 17:14:23 UTC+5:30 Sandeep G wrote:

> 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"
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/f4f2e6b6-90ab-4e7d-95ad-741bd30ab191n%40googlegroups.com.

Reply via email to