devopsarr.sonarr.sonarr_download_client_config (1.1.1) — module

Manages Sonarr download client config.

| "added in version" 0.5.0 of devopsarr.sonarr"

Authors: Fuochi (@Fuochi)

Install collection

Install with ansible-galaxy collection install devopsarr.sonarr:==1.1.1


Add to requirements.yml

  collections:
    - name: devopsarr.sonarr
      version: 1.1.1

Description

Manages Sonarr download client config.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
---
# update download client config
- name: Update download client config
  devopsarr.sonarr.sonarr_download_client_config:
    auto_redownload_failed: false
    enable_completed_download_handling: true

Inputs

    
sonarr_url:
    description: Full Sonarr URL with protocol and port (e.g. `https://test.sonarr.tv:8989`)
    required: true
    type: str

sonarr_api_key:
    description: API key for Sonarr authentication.
    required: true
    type: str

auto_redownload_failed:
    description: Auto redownload failed.
    required: true
    type: bool

enable_completed_download_handling:
    description: Enable completed download handling.
    required: true
    type: bool

Outputs

auto_redownload_failed:
  description: Maximum size.
  returned: always
  sample: true
  type: bool
download_client_working_folders:
  description: Retention.
  returned: always
  sample: _UNPACK_|_FAILED_
  type: str
enable_completed_download_handling:
  description: Minimum age.
  returned: always
  sample: true
  type: bool
id:
  description: Download client config ID.
  returned: always
  sample: '1'
  type: int