devopsarr.sonarr.sonarr_import_list_exclusion_info (1.1.1) — module

Manages Sonarr import list exclusion.

| "added in version" 0.7.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 import list exclusion.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
---
# Gather information about all import list exclusion
- name: Gather information about all import list exclusion
  devopsarr.sonarr.sonarr_import_list_exclusion_info:
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# Gather information about a single list exclusion
- name: Gather information about a single list exclusion
  devopsarr.sonarr.sonarr_import_list_exclusion_info:
    tvdb_id: 123

Inputs

    
tvdb_id:
    description: TVDB ID.
    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

import_list_exclusions:
  contains:
    id:
      description: import list exclusion ID.
      returned: always
      sample: 1
      type: int
    title:
      description: Title.
      returned: always
      sample: Breaking Bad
      type: str
    tvdb_id:
      description: TVDB ID.
      returned: always
      sample: 12345
      type: int
  description: A list of remote path mappings.
  elements: dict
  returned: always
  type: list