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 Configuration | Automation hub configuration |
Collection Name | Purpose |
---|---|
Controller Configuration | Automation controller configuration |
EE Utilities | Execution Environment creation utilities |
AAP installation Utilities | Ansible Automation Platform Utilities |
AAP Configuration Template | Configuration Template for this suite |
Click the Content
button to see the list of content included in 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: ...
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
- Ansible Using collections for more details.
For details on changes between versions, please see the changelog for this collection.
Add more roles and modules for endpoints on the Automation Hub.
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.
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 for Automation hub URI can be found at Documentation for Automation hub URI.