devopsarr.readarr.readarr_tag (0.1.0) — module

Manages Readarr tag.

| "added in version" 1.0.0 of devopsarr.readarr"

Authors: Fuochi (@Fuochi)

Install collection

Install with ansible-galaxy collection install devopsarr.readarr:==0.1.0


Add to requirements.yml

  collections:
    - name: devopsarr.readarr
      version: 0.1.0

Description

Manages Readarr tag.

Usage examples

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

Inputs

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

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

readarr_url:
    description: Full Readarr URL with protocol and port (e.g. `https://test.readarr.tv:8787`)
    required: true
    type: str

readarr_api_key:
    description: API key for Readarr 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