How to install the AWX Ansible web GUI on CentOS 8

Опубликовано: 18 Сентябрь 2024
на канале: How To Make Tech Work from TechRepublic
13k
128

Ansible administration is most often done from the command line. Make that task a bit more efficient with the help of the web-based GUI, AWX.

For the full step-by-step article, head to

List of Commands:

sudo dnf install epel-release -y
sudo dnf install git gcc gcc-c++ ansible nodejs gettext device-mapper-persistent-data lvm2 bzip2 python3-pip -y
sudo dnf config-manager --add-repo=
sudo dnf install docker-ce-3:18.09.1-3.el7 -y
sudo systemctl start docker
sudo systemctl enable docker
sudo usermod -aG docker $USER
sudo pip3 install docker-compose
alternatives --set python /usr/bin/python3
git clone
openssl rand -base64 30
cd awx/installer
nano inventory
secret_key=
admin_password=password

awx_alternate_dns_servers="8.8.8.8,8.8.4.4"
sudo mkdir /var/lib/pgdocker
sudo ansible-playbook -i inventory install.yml
sudo nano /etc/sysconfig/selinux
SELINUX=enforcing
SELINUX=disabled
sudo firewall-cmd --zone=public --add-masquerade --permanent
sudo firewall-cmd --permanent --add-service=http
sudo firewall-cmd --permanent --add-service=https
sudo firewall-cmd --reload

Watch more How To videos:
Watch more TechRepublic videos:
Follow TechRepublic on Twitter:
Follow TechRepublic on Facebook:
Follow TechRepublic on Instagram:
Follow TechRepublic on LinkedIn:

Watch Tech Stories, a series of mini documentaries from TechRepublic: