AWX Installation Steps on Linux

1,462 views
Skip to first unread message

Vishrut Chenna

unread,
Sep 21, 2017, 5:32:48 AM9/21/17
to AWX Project
Hi, I am new to Ansible and AWX, please provide full and clear steps to install AWX on Linux using VM preferably rpms. TIA!

Christopher Meyers

unread,
Sep 21, 2017, 6:43:05 AM9/21/17
to Vishrut Chenna, AWX Project
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

On Sep 21, 2017 5:32 AM, "Vishrut Chenna" <vishr...@gmail.com> wrote:
Hi, I am new to Ansible and AWX, please provide full and clear steps to install AWX on Linux using VM preferably rpms. TIA!

--
You received this message because you are subscribed to the Google Groups "AWX Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to awx-project+unsubscribe@googlegroups.com.
To post to this group, send email to awx-p...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/awx-project/fe225688-85c0-42ed-ae28-852d9ae1e400%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Peter Hudec

unread,
Sep 21, 2017, 6:43:08 AM9/21/17
to awx-p...@googlegroups.com
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

On 21/09/2017 11:32, Vishrut Chenna wrote:
> Hi, I am new to Ansible and AWX, please provide full and clear steps to
> install AWX on Linux using VM preferably rpms. TIA!
>
> --
> You received this message because you are subscribed to the Google
> Groups "AWX Project" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to awx-project...@googlegroups.com
> <mailto:awx-project...@googlegroups.com>.
> To post to this group, send email to awx-p...@googlegroups.com
> <mailto:awx-p...@googlegroups.com>.
> <https://groups.google.com/d/msgid/awx-project/fe225688-85c0-42ed-ae28-852d9ae1e400%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.


--
*Peter Hudec*
Infraštruktúrny architekt
phu...@cnc.sk <mailto:phu...@cnc.sk>

*CNC, a.s.*
Borská 6, 841 04 Bratislava
Recepcia: +421 2  35 000 100

Mobil:+421 905 997 203
*www.cnc.sk* <http:///www.cnc.sk>

Joanna Delaporte

unread,
Sep 23, 2017, 12:07:39 AM9/23/17
to AWX Project

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


On Thursday, September 21, 2017 at 5:43:08 AM UTC-5, Peter Hudec wrote:
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

On 21/09/2017 11:32, Vishrut Chenna wrote:
> Hi, I am new to Ansible and AWX, please provide full and clear steps to
> install AWX on Linux using VM preferably rpms. TIA!
>
> --
> You received this message because you are subscribed to the Google
> Groups "AWX Project" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to awx-project...@googlegroups.com

Christopher Meyers

unread,
Sep 23, 2017, 9:47:46 AM9/23/17
to Joanna Delaporte, AWX Project
Looks like someone has written an rpm spec for awx. https://github.com/subuk/awx-rpm

--
You received this message because you are subscribed to the Google Groups "AWX Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to awx-project+unsubscribe@googlegroups.com.
To post to this group, send email to awx-p...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/awx-project/4400e1be-69d4-4887-9f19-deb6b3f5668b%40googlegroups.com.

Martin Juhl

unread,
Jan 3, 2018, 4:04:02 AM1/3/18
to AWX Project
I have created a rpm repository and an install guide:

https://github.com/MrMEEE/awx-build/blob/master/installguide
Reply all
Reply to author
Forward
0 new messages