- Clone the AWX HA repository
- Install Vagrant, VirtualBox & Ansible
- inventory/hosts ( Recommended to go through the known_issues )
[all]
[awx_instance_group_web]
10.10.10.21
10.10.10.22
[awx_instance_group_task]
10.10.10.23
---
ansible_user: "vagrant"
ansible_ssh_pass: "Test123"
ansible_become_pass: "{{ansible_ssh_pass}}"
### AWX Default Settings
awx_unique_secret_key: awxsecret
awx_admin_default_pass: password
### Postgre DB details
pg_db_host: "10.10.10.20"
pg_db_pass: "awxpass"
pg_db_port: "5432"
pg_db_user: "awx"
pg_db_name: "awx"
### RabbitMQ default settings
rabbitmq_cookie: "cookiemonster"
rabbitmq_username: "awx"
rabbitmq_password: "password"
$ cd AWX-HA-InstanceGroup/
$ vagrant up;ansible-playbook -i inventory/hosts awx_ha.yml --verbose
Once the command has succeded, it will bring the sandbox environment with HA mode and the same can access via either http://10.10.10.21 / http://10.10.10.22
Once you are done with sandbox environment, you could destroy those via,
$ cd AWX-HA-InstanceGroup/
$ vagrant destroy -f
Vagrant is a DevOps tool developed by HashiCorp that widely used for automating development activities. It can talk with your virtual appliances [oracle virtualbox etc]based on your Vagrantfile and bring a sandbox environment for you to play around with it.