devopsarr.lidarr.lidarr_custom_format_info (1.0.0) — module

Get information about Lidarr custom format.

| "added in version" 1.0.0 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

Get information about Lidarr custom format.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
---
# Gather information about all custom formats
- name: Gather information about all custom formats
  devopsarr.lidarr.lidarr_custom_format_info:
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# Gather information about a single custom format
- name: Gather information about a single custom format
  devopsarr.lidarr.lidarr_custom_format_info:
    name: Example

Inputs

    
name:
    description: Name.
    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

custom_formats:
  contains:
    id:
      description: custom formatID.
      returned: always
      sample: 1
      type: int
    include_custom_format_when_renaming:
      description: Include custom format when renaming flag.
      returned: always
      sample: false
      type: bool
    name:
      description: Name.
      returned: always
      sample: Example
      type: str
    specifications:
      description: specification list.
      returned: always
      type: list
  description: A list of custom format.
  elements: dict
  returned: always
  type: list