
17Modules20Plugins
A collection of roles to manage Ansible automation platform gateway
This collection contains modules that can be used to automate the creation of resources on an install of Ansible Automation Platform.
This collection supports python versions >=3.11 and requires an ansible-core version of >=2.16.0.
It also requires an existing install of Ansible Automation Platform as a target.
Before using this collection, you need to install it with the Ansible Galaxy command-line tool:
ansible-galaxy collection install ansible.platform
You can also include it in a requirements.yml file and install it with ansible-galaxy collection install -r requirements.yml, using the format:
collections:
- name: ansible.platform.
Note that if you install any collections from Ansible Galaxy, they will not be upgraded automatically when you upgrade the Ansible package. To upgrade the collection to the latest available version, run the following command:
ansible-galaxy collection install ansible.platform --upgrade
You can also install a specific version of the collection, for example, if you need to downgrade when something is broken in the latest version (please report an issue in this repository). Use the following syntax to install version 2.5.0:
ansible-galaxy collection install ansible.platform:==2.5.0
See using Ansible collections for more details.
This collection can be used to automate to the creation of resources inside of the Ansible Automation Platform. Things such as users, organizations and teams can be created using this collection.
Adding services (Controller, Event Driven Automation, Automation) can also be done with this collection. Nodes for those services can also be added.
Connecting to AAP requires specifying authentication variables (the ones prefixed by aap_ here) in the task. Alternatively, AAP_ environment variables can also be set. For a complete list of authentication variables that can be used, please refer to the module specific documentations.
- name: Manage AAP
hosts: localhost
tasks:
- name: Example for auth
ansible.platform.<module-name>:
your-module-parameters: parameter-values
aap_hostname: your-hostname
aap_username: your-username
aap_password: your-password
This collection is tested using integration tests which can be called via ansible-test integration. If you wish to run the tests manually, we recommend using the parent Makefile via make collection-test. It will require a running version of Ansible Automation Platform.
The collection is tested against current version of Ansible Automation Platform.
As a Red Hat Ansible Certified Content, this collection is entitled to support through Ansible Automation Platform (AAP).
Detailed release notes are available in the main CHANGELOG.rst file within the repository, and a comprehensive changelogs archive can also be found in the changelogs/ directory.
Please refer to Ansible Automation Platform Documentation for further documentation needs: https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.5
Sean Sullivan Martin Slemr Jake Jackson Brennan Paciorek John Westcott Jessica Steurer Bryan Havenstein
| Product |
|---|
| 2.5 |
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.