Ansible playbook to install and configure AWX when using "docker-compose"
- Ansible needs to be installed on the host running the playbook (using ansible-2.9)
make all
ansible-playbook awx-fetch.yml -e awx_env_depl=localhost -D
ansible-playbook awx-fetch.yml -e awx_env_depl=remote -D
Create a file inside inventories
with the awx
group (ex: inventories/scaleway
)
[awx]
bionic ansible_ssh_host=xxx.xxx.xxx.xx ansible_user=root ansible_python_interpreter=/usr/bin/python3
buster ansible_ssh_host=xxx.xxx.xxx.xx ansible_user=root ansible_python_interpreter=/usr/bin/python3
stretch ansible_ssh_host=xxx.xxx.xxx.xx ansible_user=root
xenial ansible_ssh_host=xxx.xxx.xxx.xx ansible_user=root ansible_python_interpreter=/usr/bin/python3
ansible-playbook awx-docker.yml -D