What are the core objects in AWX and how do they fit together?
BeginnerProductionAWX, AAP and Cloud Integration
Answer
- Organization: top-level tenant that owns everything below.
- Project: a Git repo (and branch) with playbooks.
- Inventory: hosts and groups, static or synced from sources such as
aws_ec2. - Credential: SSH keys, cloud credentials, vault passwords, stored encrypted.
- Execution Environment: the container image the job runs in.
- Job Template: project + playbook + inventory + credentials + EE + options. This is what users launch.
- Workflow Job Template: a graph of job templates with success, failure and approval paths.
flowchart LR
P["Project (Git)"] --> JT["Job Template"]
I["Inventory"] --> JT
C["Credentials"] --> JT
EE["Execution Environment"] --> JT
JT --> J["Job run"]
JT --> WF["Workflow"]
Teams and users get roles (admin, execute, read) on these objects, which is how RBAC works.
More on AWX, AAP and Cloud Integration
AWX or Red Hat Ansible Automation Platform: what is the difference and what do you pay for?BeginnerHow do you manage AWX configuration as code?IntermediateHow do custom credential types work in AWX?AdvancedHow do you connect AWX to an external secrets manager?IntermediateHow do you trigger AWX jobs from CI or other systems?IntermediateHow do project updates work in AWX, and what does "update revision on launch" trade off?Intermediate