No description
Find a file
2026-03-30 08:06:35 -05:00
.github removing modules (#436) 2024-10-02 09:52:12 -05:00
changelogs fix: cleanup working directory after collection publish (#457) 2026-03-30 08:06:35 -05:00
meta Re-route modules to ansible.hub (#435) 2024-09-25 16:07:31 -05:00
roles fix: cleanup working directory after collection publish (#457) 2026-03-30 08:06:35 -05:00
tests Re-route modules to ansible.hub (#435) 2024-09-25 16:07:31 -05:00
.ansible-lint Fix ansible-lint running against .py files (#332) 2023-11-12 10:05:24 -05:00
.flake8 Update linting configuration and fix lint errors 2022-09-24 22:27:32 -07:00
.gitignore update pre-commit (#445) 2025-03-05 23:29:08 -05:00
.markdownlint.yml Update linting configuration and fix lint errors 2022-09-24 22:27:32 -07:00
.mlc_config.json Fix links 2023-01-06 11:20:51 +00:00
.pre-commit-config.yaml Update pre-commit (#454) 2025-09-17 08:26:04 -05:00
.yamllint.yml Align linting configurations with other repos 2022-09-30 16:08:15 -07:00
CHANGELOG.rst Convert to Galaxy namespace (#306) 2023-08-23 21:00:17 -05:00
COPYING init 2020-11-10 21:53:47 -06:00
galaxy.yml Update galaxy.yml 2025-03-09 00:32:29 -05:00
LICENSE updating license and ansible min to match everywhere (#370) 2024-03-21 16:36:51 -04:00
README.md Remove modules (#437) 2024-10-02 10:24:23 -05:00
STANDARDS.md Update linting configuration and fix lint errors 2022-09-24 22:27:32 -07:00

Red Hat Ansible Automation Hub Configuration Collection

pre-commit tests Code style: flake8

This Ansible collection allows for easy interaction with an Ansible Automation Hub or Galaxy NG server via Ansible playbooks.

Collection Name Purpose
awx.awx/Ansible.controller repo Automation controller modules
ansible.hub repo Automation hub modules
Collection Name Purpose
Controller Configuration Automation controller configuration
Ansible Hub Configuration Automation hub configuration
EE Utilities Execution Environment creation utilities
AAP installation Utilities Ansible Automation Platform Utilities
AAP Configuration Template Configuration Template for this suite

Included content

Click the Content button to see the list of content included in this collection.

Installing this collection

You can install the galaxy galaxy collection with the Ansible Galaxy CLI:

ansible-galaxy collection install galaxy.galaxy

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: galaxy.galaxy
    # If you need a specific version of the collection, you can specify like this:
    # version: ...

Using this collection

Define following vars here, or in galaxy_configs/galaxy_auth.yml galaxy_server: ansible-galaxy-web-svc-test-project.example.com

You can also specify authentication by setting the following variables:

  • galaxy_server, galaxy_oauthtoken, ah_token

The OAuth2 token is the only method. You can obtain the token through the web interface. If you only pass a username and password to galaxy API roles/modules a new OAUTH2 token will be generated, invalidating the previous user token. To ensure this doesn't occur always set the ah_token variable to the users OAUTH2 token before executing automation. This does not affect pulp API calls.

Galaxy API calls

  • group
  • namespace
  • publish
  • repository
  • repository_sync
  • user

These can be specified via (from highest to lowest precedence):

  • direct role variables as mentioned above

See Also

Release and Upgrade Notes

For details on changes between versions, please see the changelog for this collection.

Roadmap

Add more roles and modules for endpoints on the Automation Hub.

Contributing to this collection

We welcome community contributions to this collection. If you find problems, please open an issue or create a PR against the Automation Hub Configuration collection repository. More information about contributing can be found in our Contribution Guidelines.

Licensing

GNU General Public License v3.0 or later.

See LICENSE to see the full text.

All content in this folder is licensed under the same license as Ansible, which is the same as license that applied before when the base for this code was derived form the AWX.AWX collection.

Documentation

Documentation for Automation hub URI can be found at Documentation for Automation hub URI.