The Red Hat Ecosystem Catalog is the official source for discovering and learning more about the Red Hat Ecosystem of both Red Hat and certified third-party products and services.
We’re the world’s leading provider of enterprise open source solutions—including Linux, cloud, container, and Kubernetes. We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

2Modules13Roles8Plugins2Dependencies
A collection for migrating AAP clusters between installation platforms
This collection provides a complete migration framework for Ansible Automation Platform (AAP) clusters. It exports platform data into a portable artifact and imports it into a new deployment, supporting migration across all AAP installation types.
Supported migration paths:
| Source | Target |
|---|---|
| RPM Installer | Containerized Installer |
| RPM Installer | OCP Operator |
| Containerized Installer | Containerized Installer |
| Containerized Installer | OCP Operator |
| OCP Operator | OCP Operator |
The collection handles four AAP components: Controller, Hub (with Pulp content), Gateway, and EDA. Components are processed conditionally based on what is present in the inventory and artifact.
| Collection | Version |
|---|---|
ansible.posix | >=1.6.0 |
community.postgresql | >=3.0.0 |
containers.podman | >=1.14.0 |
community.general | >=10.7.0 |
kubernetes.core | >=3.0.0 |
Community dependency disclaimer: This collection depends on
community.postgresqlandcommunity.general, which are community-maintained Ansible collections. Red Hat provides full support for these dependencies when used as part ofansible.aap_snapshotthrough Ansible Automation Platform subscriptions. Red Hat will work toward replacing these community dependencies with certified equivalents as they become available.
become privilegeskubeconfig with cluster-admin or namespace-admin accessRed Hat customers install certified collections from Red Hat Ansible Automation Hub.
Install this collection with the Ansible Galaxy CLI:
ansible-galaxy collection install ansible.aap_snapshot
Include this collection in a requirements.yml file and install it with
ansible-galaxy collection install -r requirements.yml:
collections:
- name: ansible.aap_snapshot
Use the following syntax to install version 1.0.0:
ansible-galaxy collection install ansible.aap_snapshot:==1.0.0
See using Ansible collections for more details.
To upgrade the collection to the latest available version:
ansible-galaxy collection install ansible.aap_snapshot --upgrade
Create a migration artifact from a running AAP deployment:
# From an RPM deployment
ansible-playbook -i inventory ansible.aap_snapshot.artifact_export -e aap_platform=rpm
# From a containerized deployment
ansible-playbook -i inventory ansible.aap_snapshot.artifact_export -e aap_platform=containerized
# From an OCP operator deployment
ansible-playbook -i inventory ansible.aap_snapshot.artifact_export \
-e aap_platform=operator \
-e ocp_namespace=aap \
-e aap_instance_name=aap
Restore a migration artifact into a target AAP deployment:
# Into a containerized deployment
ansible-playbook -i inventory ansible.aap_snapshot.artifact_import \
-e aap_platform=containerized \
-e artifact_dir=/path/to/artifacts \
-e artifact_file=/path/to/aap-snapshot-2.6-20260701-120000.tar
# Into an OCP operator deployment
ansible-playbook -i inventory ansible.aap_snapshot.artifact_import \
-e aap_platform=operator \
-e artifact_file=/path/to/aap-snapshot-2.6-20260701-120000.tar \
-e ocp_namespace=aap \
-e aap_instance_name=aap
Validate an artifact without importing it:
ansible-playbook ansible.aap_snapshot.artifact_verify \
-e artifact_file=/path/to/aap-snapshot-2.6-20260701-120000.tar
| Variable | Required | Default | Description |
|---|---|---|---|
aap_platform | Yes | - | Platform type: rpm, containerized, or operator |
artifact_dir | No | $PWD | Directory for artifact creation/extraction |
artifact_file | Import/Verify | - | Path to the artifact archive |
ocp_namespace | OCP | aap | OpenShift namespace |
aap_instance_name | OCP | aap | AAP CR instance name |
artifact_export_hub_content | No | true | Include Pulp content data in artifact |
artifact_postgresql_db_type | No | managed | Database topology: managed or external |
See the variables reference for the complete list.
The collection supports RPM, containerized, and OCP operator deployments on RHEL 8 and RHEL 9.
Dev dependencies: pip install pytest pyyaml ansible-lint
make lint
make syntax-check
pytest tests/unit/ -v
We welcome contributions. See CONTRIBUTING.md for development setup, testing, and the pull request process.
To report a bug or request a feature, please open an issue.
This collection is maintained by the Red Hat AAP Installer team.
As Red Hat Ansible Certified Content, this collection is entitled to support through the Ansible Automation Platform (AAP) using the Create issue button on the top right corner of Automation Hub. If a support case cannot be opened with Red Hat and the collection has been obtained either from Galaxy or GitHub, there may be community help available on the Ansible Forum.
See the changelog for release notes.
GNU General Public License v3.0 or later.
See LICENSE for the full text.
| Product |
|---|
| 2.6 |
| 2.7 |