Skip to content

Build and publish an Ansible Collection to Ansible Galaxy.

License

Notifications You must be signed in to change notification settings

arillso/action.ansible.collection

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date
Mar 19, 2023
Jul 26, 2022
Jul 26, 2022
Jul 26, 2022
Jul 26, 2022
Feb 3, 2020
Jul 26, 2022
Jul 26, 2022
Jul 26, 2022
Jul 26, 2022
Feb 11, 2022
Jul 26, 2022
Jul 26, 2022
Jul 26, 2022
Mar 19, 2023
Mar 19, 2023
Mar 1, 2023
Jul 26, 2022

Repository files navigation

Action: Ansible Collection

Build and publish an Ansible Collection to Ansible Galaxy.

Inputs

api_key

api_key

Required: Ansible Galaxy API key.

This should be stored in a Secret on GitHub. See Creating and Using Secrets Encrypted Variables.

collection_dir

Default: ./

The directory in which the Ansible Collection is stored. This defaults to the project root.

Only change this if your Collection is not stored in your project root.

galaxy_version

Semver-compatible string: 1, 1.1, 1.1.1, 1.1.1-alpha

Dynamically inject a semver-compatible version into your galaxy.yml file.

Example Usage

- name: Build and Deploy Collection
  uses: arillso/action.ansible.collection@master
  with:
    api_key: '3fe6ff42edm793ddei5'

Inspired

License

This project is under the MIT License. See the LICENSE file for the full license text.

Copyright

(c) 2022, Arillso