AWX Installation Steps on Linux

Hi, I am new to Ansible and AWX, please provide full and clear steps to install AWX on Linux using VM preferably rpms. TIA!

Not currently supported in the open source version. For reasons why see https://groups.google.com/forum/m/?source=mog&gl=us#!topic/awx-project/u8hkKuD8FWs

Hi,

for AWX there is no RPM based installation. Use the docker instruction
at https://github.com/ansible/awx/blob/devel/INSTALL.md#docker

  Peter

Here is a cloud init script I used to throw up an AWS machine to learn the installation. You would need to double-check disk requirements, etc, but the basic steps should work.

#!/bin/bash

yum install -y http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm --enablerepo=extras

yum install -y ansible vim docker git make python-pip lvm2 --enablerepo=extras

yum update -y

pip install docker-py

pvcreate /dev/xvdf

vgcreate vg_awx /dev/xvdf

lvcreate -l 100%FREE vg_awx -n lv_awx

mkfs.ext4 /dev/vg_awx/lv_awx

mkdir /awx

mount /dev/vg_awx/lv_awx /awx

echo ‘/dev/vg_awx/lv_awx /awx ext4 defaults 0 2’ >> /etc/fstab

systemctl start docker

systemctl enable docker

cd /awx

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

git clone https://github.com/ansible/awx-logos.git

cd awx/installer

sed -i ‘s/awx_official=false/awx_official=true/’ inventory

ansible-playbook -i inventory install.yml

docker logs -f awx_task

Looks like someone has written an rpm spec for awx. https://github.com/subuk/awx-rpm

I have created a rpm repository and an install guide:

https://github.com/MrMEEE/awx-build/blob/master/installguide