devopsarr.whisparr.whisparr_delay_profile module – Manages Whisparr delay profile.
Note
This module is part of the devopsarr.whisparr collection (version 0.1.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.whisparr
.
To use it in a playbook, specify: devopsarr.whisparr.whisparr_delay_profile
.
New in devopsarr.whisparr 0.0.1
Synopsis
Manages Whisparr delay profile.
Parameters
Parameter |
Comments |
---|---|
Bypass if highest quality flag. Choices:
|
|
Enable Torrent. Choices:
|
|
Enable Usenet. Choices:
|
|
Order. |
|
Preferred protocol. Choices:
|
|
Create or delete a delay profile. Choices:
|
|
Tag list. |
|
Torrent delay. |
|
Usenet delay. |
|
API key for Whisparr authentication. |
|
Full Whisparr URL with protocol and port (e.g. `https://test.whisparr.tv:7878`) |
Notes
Note
for authentication, you can set service_account_file using the c(WHISPARR_URL) env variable.
for authentication, you can set service_account_contents using the c(WHISPARR_API_KEY) env variable.
Examples
---
# Create a delay profile
- name: Create a delay profile
devopsarr.whisparr.delay_profile:
preferred_protocol: torrent
usenet_delay: 0
torrent_delay: 0
order: 100
enable_usenet: true
enable_torrent: true
bypass_if_highest_quality: false
tags: [1,2]
# Delete a delay profile
- name: Delete a delay_profile
devopsarr.whisparr.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 highest quality flag. Returned: always Sample: |
|
Enable Torrent. Returned: always Sample: |
|
Enable Usenet. Returned: always Sample: |
|
Delay Profile ID. 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: |