Ansible AWX in AWS – Setup – With Docker-Compose

Github AWX: Opensource:

https://github.com/ansible/awx

i Took the latest release following the install 13.0.0

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

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

NodeJS

https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-ubuntu-18-04

Python3

https://linuxize.com/post/how-to-install-python-3-7-on-ubuntu-18-04/

Docker

apt install docker

Docker-Compose

pip3 install docker-compose

Other:

https://www.digitalocean.com/community/tutorials/how-to-install-docker-compose-on-ubuntu-18-04

Prior to that install pip3:

apt install python3-pip

Adding bulk hosts:

AWX / Ansible Tower – Inventory & Bulk Hosts Import

Sample Playbook:

---
  - name: Playbook
    hosts: webservers
    become: yes
    become_user: root
    tasks:
      - name: ensure apache is at the latest version
        yum:
          name: httpd
          state: latest
      - name: ensure apache is running
        service:
          name: httpd
          state: started


https://neutrollized.blogspot.com/2018/12/cannot-have-both-docker-py-and-docker.html - AWX Blogger