devopsarr.lidarr.lidarr_artist_info (1.0.0) — module

Get information about Lidarr artist.

| "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 artist.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
---
# Gather information about all artist.
- name: Gather information about all artist
  devopsarr.lidarr.lidarr_artist_info:
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# Gather information about a single artist.
- name: Gather information about a single artist
  devopsarr.lidarr.lidarr_artist_info:
    foreign_artist_id: "0383dadf-2a4e-4d10-a46a-e9e041da8eb3"

Inputs

    
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

foreign_artist_id:
    description: Foreign artist ID.
    type: str

Outputs

artist_list:
  contains:
    artist_name:
      description: Artist name.
      returned: always
      sample: Artist name
      type: str
    foreign_artist_id:
      description: Foreign artist ID.
      returned: always
      sample: 0383dadf-2a4e-4d10-a46a-e9e041da8eb3
      type: str
    id:
      description: artist ID.
      returned: always
      sample: 1
      type: int
    metadata_profile_id:
      description: Metadata profile ID.
      returned: always
      sample: 1
      type: int
    monitored:
      description: Monitored flag.
      returned: always
      sample: false
      type: bool
    path:
      description: Artist path.
      returned: always
      sample: /artist/artist_artist_name
      type: str
    quality_profile_id:
      description: Quality profile ID.
      returned: always
      sample: 1
      type: int
    tags:
      description: Tag list.
      elements: int
      returned: always
      sample:
      - 1
      - 2
      type: list
  description: A list of artist.
  elements: dict
  returned: always
  type: list