devopsarr.radarr.radarr_delay_profile module – Manages Radarr delay 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_delay_profile
.
New in devopsarr.radarr 0.0.3
Synopsis
Manages Radarr delay profile.
Parameters
Parameter |
Comments |
---|---|
Bypass if above custom format score flag. Choices:
|
|
Bypass if highest quality flag. Choices:
|
|
Enable Torrent. Choices:
|
|
Enable Usenet. Choices:
|
|
Minimum cutoff format score. Default: |
|
Order. |
|
Preferred protocol. Choices:
|
|
API key for Radarr authentication. |
|
Full Radarr URL with protocol and port (e.g. `https://test.radarr.tv:7878`) |
|
Create or delete resource. Choices:
|
|
Tag list. |
|
Torrent delay. |
|
Usenet delay. |
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 delay profile
- name: Create a delay profile
devopsarr.radarr.radarr_delay_profile:
preferred_protocol: torrent
usenet_delay: 0
torrent_delay: 0
minimum_custom_format_score: 0
order: 100
enable_usenet: true
enable_torrent: true
bypass_if_above_custom_format_score: true
bypass_if_highest_quality: false
tags: [1,2]
# Delete a delay profile
- name: Delete a delay_profile
devopsarr.radarr.radarr_delay_profile:
preferred_protocol: torrent
tags: [1,2]
state: absent
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
Bypass if above custom format score flag. Returned: always Sample: |
|
Bypass if highest quality flag. Returned: always Sample: |
|
Enable Torrent. Returned: always Sample: |
|
Enable Usenet. Returned: always Sample: |
|
Delay Profile ID. Returned: always Sample: |
|
Minimum cutoff format score. Returned: always Sample: |
|
Order. Returned: always Sample: |
|
Preferred protocol. Returned: always Sample: |
|
Tag list. Returned: always Sample: |
|
Torrent delay. Returned: always Sample: |
|
Usenet delay. Returned: always Sample: |