Ansible collection for Sonarr based on sonarr-py SDK
We follow the Ansible Code of Conduct in all our interactions within this project.
If you encounter abusive behavior, please refer to the policy violations section of the Code for information on how to raise a complaint.
For more information about communication, refer to the Ansible Communication guide.
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!
We use the following guidelines:
- CONTRIBUTING.md
- REVIEW_CHECKLIST.md
- Ansible Community Guide
- Ansible Development Guide
- Ansible Collection Development Guide
The current maintainers are listed in the 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.
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!
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.
Tested with Python 3.9, 3.10 and 3.11.
See the complete list of collection content in the Plugin Index.
Before using this collection, you need to install it with the Ansible Galaxy command-line tool:
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:
---
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:
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
:
ansible-galaxy collection install devopsarr.sonarr:==0.1.0
See Ansible Using collections 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
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:
---
- 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 }}"
See the changelog.
- Ansible Collection overview
- Ansible User guide
- Ansible Developer guide
- Ansible Collections Checklist
- Ansible Community code of conduct
- The Bullhorn (the Ansible Contributor newsletter)
- News for Maintainers
GNU General Public License v3.0 or later.
See LICENSE to see the full text.