devopsarr.sonarr.sonarr_delay_profile_info (1.1.1) — module

Get information about Sonarr delay profile.

| "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

Get information about Sonarr delay profile.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
---
# Gather information about all delay profiles.
- name: Gather information about all delay profiles
  devopsarr.sonarr.sonarr_delay_profile_info:
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# Gather information about a single delay profile.
- name: Gather information about a single delay profile
  devopsarr.sonarr.sonarr_delay_profile_info:
    tag: test

Inputs

    
tag:
    description: Tag.
    type: int

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

Outputs

delay_profiles:
  contains:
    bypass_if_above_custom_format_score:
      description: Bypass if above custom format score flag.
      returned: always
      sample: true
      type: bool
    bypass_if_highest_quality:
      description: Bypass if highest quality flag.
      returned: always
      sample: true
      type: bool
    enable_torrent:
      description: Enable Torrent.
      returned: always
      sample: true
      type: bool
    enable_usenet:
      description: Enable Usenet.
      returned: always
      sample: true
      type: bool
    id:
      description: Delay Profile ID.
      returned: always
      sample: 1
      type: int
    minimum_custom_format_score:
      description: Minimum cutoff format score.
      returned: always
      sample: 0
      type: int
    order:
      description: Order.
      returned: always
      sample: 10
      type: int
    preferred_protocol:
      description: Preferred protocol.
      returned: always
      sample: torrent
      type: str
    tags:
      description: Tag list.
      elements: int
      returned: always
      sample:
      - 1
      - 2
      type: list
    torrent_delay:
      description: Torrent delay.
      returned: always
      sample: 0
      type: int
    usenet_delay:
      description: Usenet delay.
      returned: always
      sample: 0
      type: int
  description: A list of delay profiles.
  elements: dict
  returned: always
  type: list