Skip to content
Deploy a Collection to Ansible Galaxy
JavaScript
Branch: master
Clone or download
artis3n Fixed outdated debug message (#26)
* Missed correcting outdated variables in a debug message

* Updated CHANGELOG

* Updating debug message

* Updated dist

* Just removing the message

* Updated dist

* Reverting weirdness

* Moving the class

* Updating the build

* Class is causing issues, removing

* Updated CHANGELOG
Latest commit 2e71904 Nov 3, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/workflows v1.0.9 (#25) Nov 2, 2019
dist Fixed outdated debug message (#26) Nov 3, 2019
.gitignore V1 (#1) Oct 22, 2019
.nvmrc V1 (#1) Oct 22, 2019
CHANGELOG.md Fixed outdated debug message (#26) Nov 3, 2019
LICENSE Create LICENSE Oct 23, 2019
README.md v1.0.9 (#25) Nov 2, 2019
action.yml Fixing error in entrypoint for JS action Oct 22, 2019
galaxy.yml Fixed outdated debug message (#26) Nov 3, 2019
index.js
package-lock.json Fixed outdated debug message (#26) Nov 3, 2019
package.json Fixed outdated debug message (#26) Nov 3, 2019

README.md

ansible_galaxy_collection

Deploy a Collection to Ansible Galaxy.

Requirements

This action expects to be run from a repository with certain met conditions.

  1. The repository is an Ansible Galaxy Collection, meaning it contains a galaxy.yml file at the project root.
  2. This action is part of a Python workflow.
    1. This means your workflow should include a step for uses: actions/setup-python@v1.
    2. Before this action is called, ensure that ansible is installed (pip install ansible).

An example workflow using this action can be found here.

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: Set up Python 3
  uses: actions/setup-python@v1
  with:
    python-version: 3.6

- name: Install dependencies
  run: |
    python -m pip install --upgrade pip
    pip install ansible  # Must be at least 2.9.0

- name: Build and Deploy Collection
  uses: artis3n/ansible_galaxy_collection@v1
  with:
    api_key: 'df328fawrfr32iuaw'
You can’t perform that action at this time.