User Tools

Site Tools


wiki:qclug_presentations:awx

This is an old revision of the document!


Presentation

qclug_presentations

Note: These steps were taken mostly from the upstream installation doc found here:

AWX Installation - https://github.com/ansible/awx/blob/devel/INSTALL.md

Install Docker and AWX deps

# sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
# echo 'deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable' | sudo tee /etc/apt/sources.list.d/docker.list
# sudo apt-get update && sudo apt-get install docker-ce python-virtualenv python python-dev build-essential git

Clone AWX

# git clone https://github.com/ansible/awx.git
# cd awx
# git checkout -b 1.0.6 1.0.6

Create a virtualenv and install ansible

# virtualenv -p `which python2` venv
# source venv/bin/activate
# pip install ansible docker-py

Configure AWX installation

# cd installer
# vim inventory

Set the postgres variables and optionally set pg_hostname if an external database is desired, otherwise if left commented out a new postgres database will be created locally in a separate container.

# pg_hostname=postgresql
pg_username=awx
pg_password=<secret>
pg_database=awx
pg_port=5432
wiki/qclug_presentations/awx.1525812675.txt.gz · Last modified: 2018/05/08 20:51 by Aaron Johnson