devopsarr.prowlarr.prowlarr_sync_profile module – Manages Prowlarr sync profile.
Note
This module is part of the devopsarr.prowlarr collection (version 1.0.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.prowlarr
.
To use it in a playbook, specify: devopsarr.prowlarr.prowlarr_sync_profile
.
New in devopsarr.prowlarr 1.0.0
Synopsis
Manages Prowlarr sync profile.
Parameters
Parameter |
Comments |
---|---|
Enable automatic search. Choices:
|
|
Enable interactive search. Choices:
|
|
Enable RSS. Choices:
|
|
Minimum seeders. |
|
Name. |
|
API key for Prowlarr authentication. |
|
Full Prowlarr URL with protocol and port (e.g. `https://test.prowlarr.tv:9696`) |
|
Create or delete resource. Choices:
|
|
Tag list. Default: |
Notes
Note
for authentication, you can set service_account_file using the c(PROWLARR_URL) env variable.
for authentication, you can set service_account_contents using the c(PROWLARR_API_KEY) env variable.
Examples
---
# Create a sync profile
- name: Create a sync profile
devopsarr.prowlarr.prowlarr_sync_profile:
name: "Example"
enable_rss: true
enable_interactive_search: false
enable_automatic_search: true
minimum_seeders: 1
tags: [1,2]
# Delete a sync profile
- name: Delete a sync_profile
devopsarr.prowlarr.prowlarr_sync_profile:
name: Example
state: absent
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
Enable automatic search. Returned: always Sample: |
|
Enable interactive search. Returned: always Sample: |
|
Enable rss. Returned: always Sample: |
|
Sync Profile ID. Returned: always Sample: |
|
Indexer ID. Set `0` for all.” Returned: always Sample: |
|
Tag list. Returned: always Sample: |