https://github.com/averagebit/action-galaxy
Github action for publishing an Ansible role to Galaxy.
https://github.com/averagebit/action-galaxy
action ansible galaxy github
Last synced: 5 months ago
JSON representation
Github action for publishing an Ansible role to Galaxy.
- Host: GitHub
- URL: https://github.com/averagebit/action-galaxy
- Owner: averagebit
- License: apache-2.0
- Created: 2022-08-30T11:07:57.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-09-06T16:32:37.000Z (almost 4 years ago)
- Last Synced: 2025-01-13T13:52:42.149Z (over 1 year ago)
- Topics: action, ansible, galaxy, github
- Homepage: https://github.com/marketplace/actions/publish-role-to-ansible-galaxy
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# action-galaxy (Github Action)
## Description
The action will publish the Ansible role in the repository to Ansible
Galaxy.
## Requirements
The action uses the `ansible-galaxy role import` tool/command so it
expects the [common](https://galaxy.ansible.com/docs/contributing/creating_role.html) Ansible role directory structure.
## Inputs
- `galaxy_token`
- Description: The account holders Ansible Galaxy access token. Found
at Profile > Preferences > API Key.
## Usage
```yml
name: publish
on:
- push
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: galaxy
uses: averagebit/action-galaxy@1.0.0
with:
galaxy_token: ${{ secrets.galaxy_token }}
```
## Legal
Copyright 2022 averagebit <[averagebit@pm.me](mailto:averagebit@pm.me)>
Licensed under the Apache License, Version 2.0 (the "License"); you may
not use this file except in compliance with the License. You may obtain
a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.