Hello all,
I am running an Ansible Control Node on an ALMA Linux 8.6 (RHEL variant), and have setup four Ansible Managed Nodes also running ALMA Linux 8.6.
The implementation of Ansible is via an RPM from the ALMA Linux repositories; specifically the ansible-core-2.12.2-4.el8_6.x86_64.
I added my hosts to two ini-sections inside the RPM-provided /etc/ansible/hosts file.
[webservers]
a8-ansi-w001
a8-ansi-w002
[databases]
a8-ansi-d001
a8-ansi-d002
I have distributed the SSH RSA key to all of the managed nodes from the control node, from an account that I created on both types of nodes (control and managed). The account name I created was called "admin".
I have never written an ansible playbook successfully because I never got started, and started this all months ago, and decided to start from scratch with the latest in changes of OS and Ansible as a whole.
Anyway, The Problem, is that I executed the following command as admin on the Control Node
> ansible -m ping a8-ansi-w001
And I do not see a successful response. I see the following instead:
As you can tell the host is reachable with a standard/OS ping, and accessible via SSH using the root account.
I do want to setup my environment to use the admin account to SSH over and then sudo (become?) when writing future plays/playbooks/roles.
The factory (RPM) default /etc/ansible/ansible.cfg file has nothing unhashed in it. All lines are hashed.
Any and all guidance and what I need to do with this environment to get it functional would be much appreciated.