24 lines
672 B
YAML
24 lines
672 B
YAML
---
|
|
# 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
|
|
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
|
|
|
|
runs:
|
|
using: docker
|
|
image: Dockerfile
|
|
env:
|
|
GALAXY_API_TOKEN: ${{ inputs.galaxy-api-key }}
|
|
GALAXY_REPOSITORY_OWNER: ${{ inputs.repository-owner }}
|
|
GALAXY_REPOSITORY_NAME: ${{ inputs.repository-name }}
|