devopsarr.lidarr.lidarr_tag (1.0.0) — module

Manages Lidarr tag.

| "added in version" 0.0.1 of devopsarr.lidarr"

Authors: Fuochi (@Fuochi)

Install collection

Install with ansible-galaxy collection install devopsarr.lidarr:==1.0.0


Add to requirements.yml

  collections:
    - name: devopsarr.lidarr
      version: 1.0.0

Description

Manages Lidarr tag.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
---
# Create a tag
- name: Create a tag
  devopsarr.lidarr.lidarr_tag:
    label: default
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# Delete a tag
- name: Delete a tag
  devopsarr.lidarr.lidarr_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

lidarr_url:
    description: Full Lidarr URL with protocol and port (e.g. `https://test.lidarr.tv:8686`)
    required: true
    type: str

lidarr_api_key:
    description: API key for Lidarr 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