galaxy-import-role/README.md

26 lines
749 B
Markdown
Raw Normal View History

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