galaxy-import-role/README.md

26 lines
748 B
Markdown
Raw Normal View History

2023-03-09 12:03:14 +00:00
# Action: import ansible galaxy role
2023-06-29 16:41:35 +00:00
> This repository is only a mirror. Development and testing is done on a private gitea 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 }}
```