Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
box

GitHub Action

Publish Ansible Collection

1.0.3

Publish Ansible Collection

box

Publish Ansible Collection

Build and publish an Ansible Collection to Ansible Galaxy

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Publish Ansible Collection

uses: arillso/[email protected]

Learn more about this action in arillso/action.ansible.collection

Choose a version

Action: Ansible Collection

Build and publish an Ansible Collection to Ansible Galaxy.

Inputs

api_key

Required Ansible Galaxy API key.

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

galaxy_config_file

Default: galaxy.yml

A collection must have a galaxy.yml file that contains the necessary information to build a collection artifact. Defaults to galaxy.yml in the project root.

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) 2020, Arillso