Skip to content

AWX clustering on Docker standalone installation

Notifications You must be signed in to change notification settings

lamm/awx-ha-cluster

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

awx-ha-cluster

AWX is an upstream project of Ansible Tower. Commercial Ansible Tower comes with clustering functionality out of the box. More likely the same functionality can be achieved in AWX by tweaking few file modifications and settings. Ideas from official Ansible Tower installation playbook and sub-reddits.

AWX configuration and deployment

Compatible with AWX 11.2.0

Date Change
2020 04 27 Updated to support AWX version 11+
2020 05 12 Added support for Isolated nodes

Dependencies

  • CentOS 7
  • EPEL
  • Ansible 2.8+
  • Python hvac module (for HashiCorp Vault)

Install

ansible-playbook -i inventory/demo -e @vars/demo.yml -e task=setup awx.yml
ansible-playbook -i inventory/demo -e @vars/demo.yml -e task=run awx.yml --skip-tags awx
ansible-playbook -i inventory/demo -e @vars/demo.yml -e task=run --tags awx --limit primary_awx_node awx.yml
ansible-playbook -i inventory/demo -e @vars/demo.yml awx.yml

Upgrade

ansible-playbook -i inventory/demo -e @vars/demo.yml -e task=setup --tags awx awx.yml
ansible-playbook -i inventory/demo -e @vars/demo.yml -e task=upgrade --tags awx awx.yml
ansible-playbook -i inventory/demo -e @vars/demo.yml --tags awx awx.yml

Remove old Docker images

ansible -i inventory/demo all -a "docker rmi awx_web_img_id awx_task_img_id"

About

AWX clustering on Docker standalone installation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 63.9%
  • Dockerfile 36.1%