Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arillso/action.ansible.collection
Build and publish an Ansible Collection to Ansible Galaxy.
https://github.com/arillso/action.ansible.collection
ansible ansible-collection github-action github-action-ansible
Last synced: about 2 months ago
JSON representation
Build and publish an Ansible Collection to Ansible Galaxy.
- Host: GitHub
- URL: https://github.com/arillso/action.ansible.collection
- Owner: arillso
- License: mit
- Created: 2020-01-19T10:34:41.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-06-01T16:01:27.000Z (over 1 year ago)
- Last Synced: 2024-09-19T13:01:59.489Z (3 months ago)
- Topics: ansible, ansible-collection, github-action, github-action-ansible
- Language: TypeScript
- Homepage:
- Size: 661 KB
- Stars: 1
- Watchers: 6
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Action: Ansible Collection
Build and publish an Ansible Collection to Ansible Galaxy.
## Inputs
### api_key
## api_key
**Required**: Ansible Galaxy API key.
This should be stored in a Secret on GitHub. See [Creating and Using Secrets Encrypted Variables](https://help.github.com/en/github/automating-your-workflow-with-github-actions/virtual-environments-for-github-actions#creating-and-using-secrets-encrypted-variables).
## collection_dir
**Default**: `./`
The directory in which the Ansible Collection is stored. This defaults to the project root.
Only change this if your Collection is not stored in your project root.
## galaxy_version
Semver-compatible string: `1`, `1.1`, `1.1.1`, `1.1.1-alpha`
Dynamically inject a semver-compatible version into your `galaxy.yml` file.
## Example Usage
```yaml
- name: Build and Deploy Collection
uses: arillso/action.ansible.collection@master
with:
api_key: '3fe6ff42edm793ddei5'
```## Inspired
- [artis3n](https://github.com/artis3n/ansible_galaxy_collection)
## License
This project is under the MIT License. See the [LICENSE](licence) file for the full license text.
## Copyright
(c) 2022, Arillso