Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/devopsarr/ansible-collection-sonarr
Ansible Sonarr collection
https://github.com/devopsarr/ansible-collection-sonarr
ansible ansible-collection sonarr
Last synced: about 2 months ago
JSON representation
Ansible Sonarr collection
- Host: GitHub
- URL: https://github.com/devopsarr/ansible-collection-sonarr
- Owner: devopsarr
- License: gpl-3.0
- Created: 2022-06-09T05:46:21.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-30T18:51:33.000Z (2 months ago)
- Last Synced: 2024-12-16T07:44:21.535Z (about 2 months ago)
- Topics: ansible, ansible-collection, sonarr
- Language: Python
- Homepage: https://galaxy.ansible.com/devopsarr/sonarr
- Size: 382 KB
- Stars: 4
- Watchers: 2
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Sonarr Collection for Ansible
[![CI](https://github.com/devopsarr/ansible-collection-sonarr/workflows/CI/badge.svg?event=push)](https://github.com/devopsarr/ansible-collection-sonarr/actions) [![Codecov](https://img.shields.io/codecov/c/github/devopsarr/ansible-collection-sonarr)](https://codecov.io/gh/adevopsarr/ansible-collection-sonarr)Ansible collection for Sonarr based on [sonarr-py SDK](https://github.com/devopsarr/sonarr-py)
## Code of ConductWe follow the [Ansible Code of Conduct](https://docs.ansible.com/ansible/devel/community/code_of_conduct.html) in all our interactions within this project.
If you encounter abusive behavior, please refer to the [policy violations](https://docs.ansible.com/ansible/devel/community/code_of_conduct.html#policy-violations) section of the Code for information on how to raise a complaint.
## Communication
For more information about communication, refer to the [Ansible Communication guide](https://docs.ansible.com/ansible/devel/community/communication.html).
## Contributing to this collection
The content of this collection is made by people like you, a community of individuals collaborating on making the world better through developing automation software.
We are actively accepting new contributors.
Any kind of contribution is very welcome.
You don't know how to start? Refer to our [contribution guide](CONTRIBUTING.md)!
We use the following guidelines:
* [CONTRIBUTING.md](CONTRIBUTING.md)
* [REVIEW_CHECKLIST.md](REVIEW_CHECKLIST.md)
* [Ansible Community Guide](https://docs.ansible.com/ansible/latest/community/index.html)
* [Ansible Development Guide](https://docs.ansible.com/ansible/devel/dev_guide/index.html)
* [Ansible Collection Development Guide](https://docs.ansible.com/ansible/devel/dev_guide/developing_collections.html#contributing-to-collections)## Collection maintenance
The current maintainers are listed in the [MAINTAINERS](MAINTAINERS) file. If you have questions or need help, feel free to mention them in the proposals.
To learn how to maintain / become a maintainer of this collection, refer to the [Maintainer guidelines](MAINTAINING.md).
## Governance
The process of decision making in this collection is based on discussing and finding consensus among participants.
Every voice is important. If you have something on your mind, create an issue or dedicated discussion and let's discuss it!
## Ansible version compatibility
Tested with the Ansible Core 2.12, 2.13 and 2.14 releases, and the current development version of Ansible. Ansible Core versions before 2.11.0 are not supported.
## Python version compatibility
Tested with Python 3.9, 3.10 and 3.11.
## Included content
See the complete list of collection content in the [Plugin Index](https://devopsarr.github.io/ansible-doc/collections/devopsarr/sonarr/index.html#plugins-in-devopsarr-sonarr).### Installing the Collection from Ansible Galaxy
Before using this collection, you need to install it with the Ansible Galaxy command-line tool:
```bash
ansible-galaxy collection install devopsarr.sonarr
```You can also include it in a `requirements.yml` file and install it with `ansible-galaxy collection install -r requirements.yml`, using the format:
```yaml
---
collections:
- name: devopsarr.sonarr
```Note that if you install the collection from Ansible Galaxy, it will not be upgraded automatically when you upgrade the `ansible` package. To upgrade the collection to the latest available version, run the following command:
```bash
ansible-galaxy collection install devopsarr.sonarr --upgrade
```You can also install a specific version of the collection, for example, if you need to downgrade when something is broken in the latest version (please report an issue in this repository). Use the following syntax to install version `0.1.0`:
```bash
ansible-galaxy collection install devopsarr.sonarr:==0.1.0
```See [Ansible Using collections](https://docs.ansible.com/ansible/devel/user_guide/collections_using.html) for more details.
The python module dependencies are not installed by `ansible-galaxy`. They can
be manually installed using pip:pip install -r requirements.txt
or:
pip install sonarr-py
## Using this collection
You can either call modules by their Fully Qualified Collection Name (FQCN), such as `devopsarr.sonarr.sonarr_tag`, or you can call modules by their short name if you list the `devopsarr.sonarr` collection in the playbook's `collections` keyword:
```yaml
---
- name: Create tag with FQCN
devopsarr.sonarr.sonarr_tag:
label: example
sonarr_api_key: "{{ sonarr_api_key }}"
sonarr_url: "{{ sonarr_url }}"---
- name: Create tag with short name
sonarr_tag:
label: example
sonarr_api_key: "{{ sonarr_api_key }}"
sonarr_url: "{{ sonarr_url }}"
```## Release notes
See the [changelog](https://github.com/devopsarr/ansible-collection-sonarr/tree/main/CHANGELOG.rst).
## More information
- [Ansible Collection overview](https://github.com/ansible-collections/overview)
- [Ansible User guide](https://docs.ansible.com/ansible/devel/user_guide/index.html)
- [Ansible Developer guide](https://docs.ansible.com/ansible/devel/dev_guide/index.html)
- [Ansible Collections Checklist](https://github.com/ansible-collections/overview/blob/main/collection_requirements.rst)
- [Ansible Community code of conduct](https://docs.ansible.com/ansible/devel/community/code_of_conduct.html)
- [The Bullhorn (the Ansible Contributor newsletter)](https://us19.campaign-archive.com/home/?u=56d874e027110e35dea0e03c1&id=d6635f5420)
- [News for Maintainers](https://github.com/ansible-collections/news-for-maintainers)## Licensing
GNU General Public License v3.0 or later.
See [LICENSE](https://www.gnu.org/licenses/gpl-3.0.txt) to see the full text.