Interview Prep/Ansible/AWX, AAP and Cloud Integration

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.

All Ansible questions Roadmap: Ansible

More on AWX, AAP and Cloud Integration