Ansible & AWX – Install on Ubuntu 16.04

There are a few tweaks needed to get it up and running properly.  Here’s what worked for me:

apt update && apt upgrade -y
reboot

apt update

apt-add-repository –yes –update ppa:ansible/ansible
apt install ansible -y

apt install docker.io
apt install python-pip -y
pip install docker
pip install docker-compose

apt install nodejs npm -y
npm install npm –global

git clone https://github.com/ansible/awx.git
cd awx/installer

*** Change/set these values in the “inventory” file:
postgres_data_dir=/var/lib/pgdocker/
docker_compose_dir=/var/lib/awx
***

ansible-playbook -i inventory install.yml

 

 

Leave a Reply

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