2023-03-09 12:03:14 +00:00
|
|
|
---
|
|
|
|
# action file
|
|
|
|
name: Galaxy import role
|
|
|
|
description: Import a role to ansible-galaxy using a given API key
|
|
|
|
|
|
|
|
inputs:
|
|
|
|
galaxy-api-key:
|
|
|
|
required: true
|
|
|
|
description: The key to use to authenticate against ansible-galaxy
|
2024-02-05 18:55:21 +00:00
|
|
|
repository-owner:
|
|
|
|
required: true
|
|
|
|
description: The owner of the repository from which to import the role
|
|
|
|
repository-name:
|
|
|
|
required: true
|
|
|
|
description: The name of the repository from which to import the role
|
2023-03-09 12:03:14 +00:00
|
|
|
|
|
|
|
runs:
|
|
|
|
using: docker
|
|
|
|
image: Dockerfile
|
|
|
|
env:
|
2023-03-09 12:44:01 +00:00
|
|
|
GALAXY_API_TOKEN: ${{ inputs.galaxy-api-key }}
|
2024-02-05 18:55:21 +00:00
|
|
|
GALAXY_REPOSITORY_OWNER: ${{ inputs.repository-owner }}
|
|
|
|
GALAXY_REPOSITORY_NAME: ${{ inputs.repository-name }}
|