Are you using AWX ?

  • Install AWX (Ansible) on Debian 10 "Buster"

    install some basic software

    apt install -y ansible docker docker-compose git python3-docker ansible-tower-cli

    start docker and enable autostart

    systemctl enable docker
    systemctl start docker

    change default version of python to version 3, I wish someone explain this more

    python -V
    python3 -V
    update-alternatives --install /usr/bin/python python /usr/bin/python2.7 1
    update-alternatives --install /usr/bin/python python /usr/bin/python3 2

    clone awx

    cd ~
    git clone
    cd ~/awx/installer

    changes parameters

    nano inventory

    install awx

    ansible-playbook install.yml -i inventory

    If no errors occurred here, you can enter the host name of the machine in the browser, log in with the user "admin" and the password "password" and get started.

    launch awx on reboot

    crontab -e
    @reboot bash /root/
    nano /root/
    cd /var/lib/awx && docker-compose start
    chmod +x /root/

    stop awx

    nano /root/
    cd /var/lib/awx && docker-compose stop
    chmod +x /root/

    update awx

    cd /var/lib/awx && docker-compose stop
    # bump the version twice here --> /var/lib/awx/docker-compose.yml
    docker-compose pull && docker-compose up --force-recreate -d

    change image port settings

    cd /var/lib/awx && docker-compose stop
    nano /var/lib/awx/docker-compose.yml
    cd /var/lib/awx && docker-compose start

    source with some changes:

    Backup and Restore AWX

    tower-cli config
    nano ~/.tower_cli.cfg
    username: admin
    password: XXXXXXXXXXX
    verify_ssl: False
    tower-cli receive --all > awx_backup.json
    tower-cli send awx_backup.json

  • Approvals system

    Youtube Video

  • @Emad-R

    Demo in arabic, yes i made full demo covering most of it, but it is in arabic. I thought I will help "my people" but sadly no interest and I dont feel like doing another one in English 😞 so enjoy 🙂

    Youtube Video

  • Have the developers gotten it to be stable in the past year? When I looked at it a bit over a year ago, you couldn't install it the same way twice and get a working system.

  • @travisdh1

    yh all works just the import/export thing is not 100% if you have 2 awx instances

Log in to reply