crural-angioscope53/Ansible Galaxy Publish Action

Publish an Ansible collection or role to Galaxy with one composite action. Supports dry-run.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
typePublish target type: 'collection' or 'role'.yes
api_keyAnsible Galaxy API key. Required unless dry_run is true.no""
namespaceGalaxy namespace (e.g., 'somaz94'). Required for both modes.yes
nameCollection or role name under 'namespace' (e.g., 'ansible_k8s_iac_tool' for a collection or 'ansible_kubectl_krew' for a role).yes
working_directoryDirectory containing galaxy.yml (collection) or meta/main.yml (role).no.
python_versionPython version installed by actions/setup-python.no3.12
ansible_versionansible version pin for pip (e.g., '9.5.1'). Empty installs the latest.no""
dry_runWhen 'true', build the collection (if applicable) but skip the publish/import call. Useful for CI validation without a live API key.nofalse
namedescription
published_refPublished reference, e.g., 'collection/somaz94.ansible_k8s_iac_tool@1.2.0' or 'role/somaz94.ansible_kubectl_krew'. Prefixed with 'dry-run:' when dry_run is true.
artifact_pathAbsolute path to the built collection tarball (collection mode only; empty for role mode).
collection_versionVersion declared in galaxy.yml (collection mode only; empty for role mode).