No description
  • Python 99%
  • Makefile 0.6%
  • Shell 0.4%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jiří Jeřábek (Jiri Jerabek) e69e218b66
[AAP-70178] Add reject_failed_basic_auth route (#214)
* add reject_failed_auth route

* add reject_failed_auth to the service module

* update description for route and service

* update desc again

* update latest changes from jewel#126

* add reject_failed_basic_auth to the v1/ route and service

* address routes_test/tasks integration test
2026-07-21 21:26:18 +05:30
.claude/skills/platform-onboarding Onboarding skill update (#215) 2026-07-15 19:16:13 +05:30
.githooks Add GHA workflows (#1) 2025-06-19 14:46:32 +05:30
.github Allow fork PR checkout for pull_request_target integration workflows (#217) 2026-07-21 13:39:20 +05:30
changelogs [AAP-80136] Fix application module to return client_secret when app created (#209) 2026-06-28 20:43:34 +05:30
docs Update docs and add Engineer Onboarding SKill (#213) 2026-07-08 21:47:58 +05:30
examples Add feature_flag module for Automation Platform Gateway (#95) 2025-11-25 20:58:18 +05:30
extensions/molecule Update docs and add Engineer Onboarding SKill (#213) 2026-07-08 21:47:58 +05:30
meta Add feature_flag module for Automation Platform Gateway (#95) 2025-11-25 20:58:18 +05:30
plugins [AAP-70178] Add reject_failed_basic_auth route (#214) 2026-07-21 21:26:18 +05:30
requirements [AAP-75090] sync: bring stable-2.7 changes into devel with fixes (#171) 2026-05-12 17:22:14 +05:30
tests [AAP-70178] Add reject_failed_basic_auth route (#214) 2026-07-21 21:26:18 +05:30
tools Onboarding skill update (#215) 2026-07-15 19:16:13 +05:30
.ansible-lint [AAP-75090] sync: bring stable-2.7 changes into devel with fixes (#171) 2026-05-12 17:22:14 +05:30
.gitignore [AAP-75090] sync: bring stable-2.7 changes into devel with fixes (#171) 2026-05-12 17:22:14 +05:30
.yamllint.yml Rename collection directory 2024-11-14 15:08:19 -05:00
CHANGELOG.rst NO-JIRA: Bump version/notes-collection 2.7.20260313 (#141) 2026-03-18 20:26:21 +05:30
CODEOWNERS [AAP-49663] Add codeowners (#67) 2025-07-29 13:51:42 +05:30
conftest.py [AAP-75090] sync: bring stable-2.7 changes into devel with fixes (#171) 2026-05-12 17:22:14 +05:30
CONTRIBUTING.md [AAP-79043] CONTRIBUTING, README, CasC notify workflow, PR template update (#202) 2026-06-15 15:17:02 +05:30
COPYING Rename collection directory 2024-11-14 15:08:19 -05:00
galaxy.yml NO-JIRA: Bump version/notes-collection 2.7.20260313 (#141) 2026-03-18 20:26:21 +05:30
Makefile [AAP-75090] sync: bring stable-2.7 changes into devel with fixes (#171) 2026-05-12 17:22:14 +05:30
pyproject.toml [AAP-75090] sync: bring stable-2.7 changes into devel with fixes (#171) 2026-05-12 17:22:14 +05:30
README.md [AAP-79043] CONTRIBUTING, README, CasC notify workflow, PR template update (#202) 2026-06-15 15:17:02 +05:30
test-requirements.txt [AAP-75090] sync: bring stable-2.7 changes into devel with fixes (#171) 2026-05-12 17:22:14 +05:30
tox-ansible.ini [AAP-75090] sync: bring stable-2.7 changes into devel with fixes (#171) 2026-05-12 17:22:14 +05:30
tox.ini [AAP-75090] sync: bring stable-2.7 changes into devel with fixes (#171) 2026-05-12 17:22:14 +05:30

Ansible Platform Collection

Changelog for v2.7.20260313

  • Added OIDC User Identity support for Ansible Automation Platform Gateway
  • New modules: feature_flag, ca_certificates, role_team_assignment, role_definition
  • Add request_timeout_seconds and idle_timeout_seconds to route modules
  • Add enable_mtls attribute to route module for mutual TLS support
  • Add associated_authenticators parameter to users module
  • Add Gateway UI plugin Route Collection Module
  • Enhanced organization association logic and auditor user support
  • Multiple bug fixes for role assignment, object deletion, and URL handling
  • Deprecated authenticator_uid and authenticators fields

Upgrading to AAP 2.7?

Ensure you are on ansible.platform >= 2.7.x before upgrading. Connection variables have changed — replace controller_host with aap_hostname pointing to your gateway URL.

See the AAP 2.7 documentation for the full upgrade guide.

Description

This collection contains modules that can be used to automate the creation of resources on an install of Ansible Automation Platform.

Requirements

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.

Installation

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.

Use Cases

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.

Authenticating to AAP in a playbook

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

Testing

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.

Support

This collection is supported by Red Hat Engineering.

Release Notes and Roadmap

Changelogs can be found in the changelogs directory.

License Information

GPLv3

Authors

Sean Sullivan Martin Slemr Jake Jackson Brennan Paciorek John Westcott Jessica Steurer Bryan Havenstein