useradd admin
cd /home/admin
sudo dnf update -y
Many EPEL packages require the CodeReady Builder (CRB) repository.
It is recommended that you run /usr/bin/crb enable to enable the CRB repository.
/usr/bin/crb enable
Enabling CRB repo
CRB repo is enabled and named: crb
sudo dnf update -y
sudo dnf install epel-release -y
Result suggested using crb
Many EPEL packages require the CodeReady Builder (CRB) repository.
It is recommended that you run /usr/bin/crb enable to enable the CRB repository.
/usr/bin/crb enable
Enabling CRB repo
CRB repo is enabled and named: crb
dnf install ansible
Result
ansible --version
ansible [core 2.14.17]
config file = /etc/ansible/ansible.cfg
configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python3.9/site-packages/ansible
ansible collection location = /root/.ansible/collections:/usr/share/ansible/collections
executable location = /usr/bin/ansible
python version = 3.9.21 (main, Dec 5 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)] (/usr/bin/python3)
jinja version = 3.1.2
libyaml = True
tar -xzvf admin.tar.gz
https://wiki.kwantu.me/en/Installation/Installation-Ansible-playbooks
Create the public and private keys for admin user
ssh-keygen -t rsa -b 4096 -C "admin@almalinux"
sudo dnf update -y
Set the root and kwantu users to be able to access from anywhere for now. Need to be locked down later.