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 https://github.com/ansible/awx cd ~/awx/installer
changes parameters
nano inventory
postgres_data_dir="/var/pgdocker" docker_compose_dir="/var/lib/awx" project_data_dir=/var/awx_projects
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/start_awx.sh nano /root/start_awx.sh cd /var/lib/awx && docker-compose start chmod +x /root/start_awx.sh
stop awx
nano /root/stop_awx.sh cd /var/lib/awx && docker-compose stop chmod +x /root/stop_awx.sh
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:
https://www.andrehotzler.de/en/blog/technology/81-install-awx-ansible-on-debian-10-buster.html
Backup and Restore AWX
tower-cli config nano ~/.tower_cli.cfg host: http://127.0.0.1:80 username: admin password: XXXXXXXXXXX verify_ssl: False tower-cli receive --all > awx_backup.json tower-cli send awx_backup.json
-
-
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
-
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.
-
yh all works just the import/export thing is not 100% if you have 2 awx instances