Skip to content

Operations

The Red Hat EMEA Ansible Launch Team created a good practice based Operational Model for AAP, for people who want inspiration for how you can run a central automation platform based on Ansible Automation Platform.
The model, which covers people, process, technology, service management and strategy is divided between three different advancement levels, from MVP over 2.0 to Advanced.

AAP Operational Model
Click the image to zoom in!

Configuration as Code

Running or operating the Automation Platform at scale can be challenging, when dealing with large, complex environments. You often need to replicate configurations between environments or sites.
Database replication to copy data from one environment to another (for instance, importing data from one Ansible Automation Platform site to another) is one approach. This approach can require a dedicated infrastructure, specialized teams to handle the process, and complex procedures for switching the active site. This design can affect consistency across multiple environments or sites.
Another possibility is treating the AAP configuration as code and using Ansible automation to automate the AAP itself.

The Red Hat Communities of Practice created many useful collections, roles and playbooks for AAP configuration as code.

As there are new components (Automation Gateway) and new APIs with Ansible Automation Platform 2.5+, automating AAP requires different collections.

AWX & AAP <= 2.4

For automating AWX and Automation Platform 2.4 and earlier, use the Controller Configuration Collection.

ansible-galaxy collection install infra.controller_configuration

AAP 2.5+

For automating Automation Platform 2.5 and later, use the AAP Configuration Collection.

ansible-galaxy collection install infra.aap_configuration

Extended configuration and helper roles

The AAP Configuration Extended Collection contains some very useful roles and playbooks for automating existing and manually configured AAP instances, as well as supporting with the migration between AAP 2.4 and 2.5.

For example:

ansible-galaxy collection install infra.aap_configuration_extended