devopsarr.sonarr.sonarr_import_list_exclusion (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.
---
# Create a import list exclusion
- name: Create a import list exclusion
  devopsarr.sonarr.sonarr_import_list_exclusion:
    tvdb_id: 123
    title: 'example'
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.

# Delete a import list exclusion
- name: Delete a import_list_exclusion
  devopsarr.sonarr.sonarr_import_list_exclusion:
    tvdb_id: 123
    title: 'example'
    state: absent

Inputs

    
state:
    choices:
    - present
    - absent
    default: present
    description: Create or delete resource.
    required: false
    type: str

title:
    description: Title.
    required: true
    type: str

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

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