Skip to content

Ansible: Awx Installation

Spencer Heywood edited this page Jun 18, 2019 · 2 revisions

Ansible Awx Installation

This installation guide assumes that you are installing Ansible Awx on the same host which will be running Ansible. It also assumes Ubuntu is your distribution of choice.

Prerequisites:

Python and pip installed: sudo apt-get install python python-pip

Docker (latest version) installed

Docker python module installed: sudo pip install docker

Ansible installed

Installation:

Download Ansible Awx:

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

Edit the following values in the inventory file (set with any values desired – not the default):

host_port=80
...
pg_username=awx
pg_password=awxpass
pg_database=awx
pg_port=5432
postgres_data_dir=/opt/pgdocker
...
rabbitmq_password=awxpass
rabbitmq_erlang_cookie=cookiemonster
...
admin_user=admin
admin_password=password
...
secret_key=awxsecret

Run the installer: ansible-playbook -i inventory install.yml

The install should be complete and the web interface should be accessible on the host on whatever port was specified in the inventory file in the shost_port variable.