Install AWX on CentOS 7

AWX is the upstream project from which the Red Hat Ansible Tower offering is ultimately derived.
Read more: AWX project FAQ

Install steps below on CentOS 7.3 minimal.

# Insall EPEL repository
yum -y install epel-release

# Disable firewall and SELinux
systemctl disable firewalld
systemctl stop firewalld
sed -i 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/selinux/config
setenforce 0

# Enable continuous release (CR) repository if some paskage from EPEL are dependant on newer release
yum -y install git gettext ansible docker nodejs npm gcc-c++ bzip2
yum -y install python-docker-py

#  Start and enable docker service
systemctl start docker
systemctl enable docker

# Clone repository and deploy (it will take about 20 minutes)
git clone
cd awx/installer/
ansible-playbook -i inventory install.yml

# Monitor migrations status (it will take about 10 minutes)
docker logs -f awx_task

Now you can access AWX web server

The default administrator username is admin, and the password is password.

3 thoughts on “Install AWX on CentOS 7

  1. SeventhTiger

    Very useful, thanks! Although this does assume logging in as root, many of these commands need to be sudo’d if logged in as a regular user.

  2. prashant

    Hello u have install succefully , but i am unable to create manual scm under projects to create new projects ?
    getting error message

    There are no available playbook directories in /var/lib/awx/projects. Either that directory is empty, or all of the contents are already assigned to other projects. Create a new directory there and make sure the playbook files can be read by the “awx” system user, or have AWX directly retrieve your playbooks from source control using the SCM Type option above.

    i have alos created the directory but no result


Leave a Reply

Your email address will not be published. Required fields are marked *