26 lines
749 B
Markdown
26 lines
749 B
Markdown
# Action: import ansible galaxy role
|
|
> This repository is only a mirror. Development and testing is done on a private gitlab server.
|
|
|
|
This action imports the repository as an ansible-galaxy role
|
|
|
|
## Parameters
|
|
|
|
The following parameters can be used as `step.with` keys:
|
|
|
|
| Name | Type | Default | Required |Description |
|
|
| ---------------- | ------ | ------- |--------- |---------------------- |
|
|
| `galaxy-api-key` | String | | yes |Ansible Galaxy API-key |
|
|
|
|
## Example usage
|
|
|
|
```yaml
|
|
jobs:
|
|
publish:
|
|
- name: Checkout Code
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Import role to galaxy
|
|
uses: ednxzu/action-galaxy-role-import@v1
|
|
with:
|
|
galaxy-api-key: ${{ secrets.galaxy_api_key }}
|
|
``` |