Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hspaans/ansible-galaxy-action
GitHub Action to import role into Ansible Galaxy
https://github.com/hspaans/ansible-galaxy-action
ansible ansible-galaxy ansible-role github-action
Last synced: 4 months ago
JSON representation
GitHub Action to import role into Ansible Galaxy
- Host: GitHub
- URL: https://github.com/hspaans/ansible-galaxy-action
- Owner: hspaans
- License: mit
- Created: 2020-08-27T23:10:25.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-04-01T09:58:01.000Z (10 months ago)
- Last Synced: 2024-04-01T10:39:52.584Z (10 months ago)
- Topics: ansible, ansible-galaxy, ansible-role, github-action
- Language: Dockerfile
- Homepage:
- Size: 172 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ansible-galaxy-action
## Usage
GitHub Action to import role into Ansible Galaxy.
## Parameters
Following parameters can be used as `step.with` keys:
| Name | Type | Default | Description |
| ----------------- | ------ | -------- | ---------------------- |
| `api_key` | String | | Ansible Galaxy API-key |## Example
```yaml
---
name: Publish on Ansible Galaxyon:
push:
tags:
- "v*"
branches:
- masterjobs:
publish:
name: Publish on Ansible Galaxy
runs-on: ubuntu-lateststeps:
- name: Checkout Code
uses: actions/checkout@v2- name: Release Ansible Role to Galaxy
uses: hspaans/[email protected]
with:
api_key: ${{ secrets.galaxy_api_key }}
```## Keep up-to-date with GitHub Dependabot
[GitHub Actions has native support](https://docs.github.com/en/github/administering-a-repository/configuration-options-for-dependency-updates#package-ecosystem) for [Dependabot](https://docs.github.com/en/github/administering-a-repository/keeping-your-actions-up-to-date-with-github-dependabot),
to enable it on your GitHub repository all you need to do is add the `.github/dependabot.yml` file:```yaml
---
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: daily
```## Limitation
This action is only available for Linux [virtual environments](https://help.github.com/en/articles/virtual-environments-for-github-actions#supported-virtual-environments-and-hardware-resources).