devopsarr.sonarr.sonarr_tag (1.1.1) — module

Manages Sonarr tag.

| "added in version" 0.0.1 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 tag.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
---
# Create a tag
- name: Create a tag
  devopsarr.sonarr.sonarr_tag:
    label: default
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# Delete a tag
- name: Delete a tag
  devopsarr.sonarr.sonarr_tag:
    label: wrong
    state: absent

Inputs

    
label:
    description: Actual tag.
    required: true
    type: str

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

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: Tag ID.
  returned: always
  sample: '1'
  type: int
label:
  description: The output message that the test module generates.
  returned: on create/update
  sample: hd
  type: str