devopsarr.radarr.radarr_release_profile module – Manages Radarr release profile.
Note
This module is part of the devopsarr.radarr collection (version 1.2.0).
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install devopsarr.radarr
.
To use it in a playbook, specify: devopsarr.radarr.radarr_release_profile
.
New in devopsarr.radarr 1.0.0
Synopsis
Manages Radarr release profile.
Parameters
Parameter |
Comments |
---|---|
Enabled. Choices:
|
|
Ignored terms. At least one of `required` and `ignored` must be set. |
|
Indexer ID. Set `0` for all. Default: |
|
Name. |
|
API key for Radarr authentication. |
|
Full Radarr URL with protocol and port (e.g. `https://test.radarr.tv:7878`) |
|
Required terms. At least one of `required` and `ignored` must be set. |
|
Create or delete resource. Choices:
|
|
Tag list. Default: |
Notes
Note
for authentication, you can set service_account_file using the c(RADARR_URL) env variable.
for authentication, you can set service_account_contents using the c(RADARR_API_KEY) env variable.
Examples
---
# Create a release profile
- name: Create a release profile
devopsarr.radarr.radarr_release_profile:
enabled: true
name: "Example"
required: ["proper"]
ignored: ["repack"]
indexer_id: 1
tags: [1,2]
# Delete a release profile
- name: Delete a release_profile
devopsarr.radarr.radarr_release_profile:
name: Example
state: absent
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
Enabled. Returned: always Sample: |
|
Release Profile ID. Returned: always Sample: |
|
Ignored terms. At least one of `required` and `ignored` must be set. Returned: always Sample: |
|
Indexer ID. Set `0` for all.” Returned: always Sample: |
|
Required terms. At least one of `required` and `ignored` must be set. Returned: always Sample: |
|
Tag list. Returned: always Sample: |