Skip to content

Latest commit

 

History

History
133 lines (86 loc) · 5.7 KB

README.md

File metadata and controls

133 lines (86 loc) · 5.7 KB

Radarr Collection for Ansible

CI Codecov

Ansible collection for Radarr based on radarr-py SDK

Code of Conduct

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.

Communication

For more information about communication, refer to the Ansible Communication guide.

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!

We use the following guidelines:

Collection maintenance

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.

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.

Installing the Collection from Ansible Galaxy

Before using this collection, you need to install it with the Ansible Galaxy command-line tool:

ansible-galaxy collection install devopsarr.radarr

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.radarr

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.radarr --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.radarr:==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 radarr-py

Using this collection

You can either call modules by their Fully Qualified Collection Name (FQCN), such as devopsarr.radarr.radarr_tag, or you can call modules by their short name if you list the devopsarr.radarr collection in the playbook's collections keyword:

---
  - name: Create tag with FQCN
    devopsarr.radarr.radarr_tag:
      label: example
      radarr_api_key: "{{ radarr_api_key }}"
      radarr_url: "{{ radarr_url }}"

---
  - name: Create tag with short name
    radarr_tag:
      label: example
      radarr_api_key: "{{ radarr_api_key }}"
      radarr_url: "{{ radarr_url }}"

Release notes

See the changelog.

More information

Licensing

GNU General Public License v3.0 or later.

See LICENSE to see the full text.