AWX

Installing AWX on Debian

Get ansible (if not) & get awx

apt install -y ansible -t stretch-backports
git clone https://github.com/ansible/awx

Check, edit /root/awx/installer/inventory

grep -v '^#.*$\|^$' inventory
postgres_data_dir=/var/pgdocker
# original is #postgres_data_dir=/tmp/pgdocker
use_docker_compose=true
# original is # use_docker_compose=false
project_data_dir=/var/awx_projects
# original is #project_data_dir=/var/lib/awx/projects

Install, start, stop, update

ansible-playbook install.yml -i inventory
cd /var/lib/awx/
docker-compose stop
docker-compose pull && docker-compose up --force-recreate

AWX-container

# Ansible-Container installation
sudo python -m pip install --upgrade pip setuptools wheel
sudo pip install ansible-container
# AWX-Container standalone usage
curl -O https://raw.githubusercontent.com/geerlingguy/awx-container/master/docker-compose.yml
docker-compose up -d

Screenshot

../_images/awx_dashboard.png

AWX dashboard