Those who work with Ansible Core usually work on the command line. What is still ok for small projects quickly reaches its limits in larger environments, for example when dynamic inventories, automatic retrieval of playbooks from repositories and so on and so forth are required.

Of course, you can do all this somehow, but Red Hat also offers a web-based essay called Ansible Tower, which offers some exciting features, including those mentioned above.

In autumn 2017 it was decided to publish the Ansible Tower in an open source project called AWX - details can be found here if interested - so that these functions can now also be used without purchasing a license.

Example of a playbook-run in AWX

The article briefly shows the necessary steps to install AWX on Debian GNU/Linux 9 "Stretch".

#install some basic software
apt install apt-transport-https ca-certificates curl gnupg2 software-properties-common dirmngr git python-pip

#add Ansible PPA Repository
add-apt-repository  "deb trusty main"
apt-key adv --keyserver --recv-keys 93C4A3FD7BB9C367

#add Docker CE Repository
add-apt-repository "deb [arch=amd64] $(lsb_release -cs) stable"
curl -fsSL | sudo apt-key add -

#update package lists
apt update

#install Ansivble 
apt install ansible docker-ce
apt auto-remove

#install docker-py
pip install docker-py

#clone awx
cd /tmp/
git clone

#configure installer
cd awx/installer

Now we have to adapt the inventory file to our circumstances.

For first test purposes you can surely take over the defaults, but you should be aware that very insecure passwords are assigned here, e.g. for the database. Also, /tmp may not be the best place for "postgres_data_dir".

After editing the inventory file, the installation can continue:

#install awx
ansible-playbook install.yml - inventory

If no errors occurred here, you can enter the host name of the machine in the browser, log in with the user "admin" and the password "password" and get started.

Translated via: