devopsarr.lidarr.lidarr_import_list_schema_info module – Get information about Lidarr import list schema.

Note

This module is part of the devopsarr.lidarr collection (version 1.0.0).

It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.

To install it, use: ansible-galaxy collection install devopsarr.lidarr.

To use it in a playbook, specify: devopsarr.lidarr.lidarr_import_list_schema_info.

New in devopsarr.lidarr 1.0.0

Synopsis

  • Get information about Lidarr import list schema.

Parameters

Parameter

Comments

lidarr_api_key

string / required

API key for Lidarr authentication.

lidarr_url

string / required

Full Lidarr URL with protocol and port (e.g. `https://test.lidarr.tv:8686`)

name

string

Name.

Notes

Note

  • for authentication, you can set service_account_file using the c(LIDARR_URL) env variable.

  • for authentication, you can set service_account_contents using the c(LIDARR_API_KEY) env variable.

Examples

---
# Gather information about all import lists schema.
- name: Gather information about all import lists schema
  devopsarr.lidarr.lidarr_import_list_schema_info:

# Gather information about a single import list schema.
- name: Gather information about a single import list schema
  devopsarr.lidarr.lidarr_import_list_schema_info:
    name: PlexImport

Return Values

Common return values are documented here, the following are the fields unique to this module:

Key

Description

import_lists

list / elements=dictionary

A list of import list.

Returned: always

config_contract

string

Config contract.

Returned: always

Sample: "CustomSettings"

enable_automatic_add

boolean

Enable automatic add flag.

Returned: always

Sample: false

fields

list / elements=string

field list.

Returned: always

id

integer

import listID.

Returned: always

Sample: 1

implementation

string

Implementation.

Returned: always

Sample: "CustomImport"

list_order

integer

List order.

Returned: always

Sample: 1

list_type

string

List type.

Returned: always

Sample: "standard"

metadata_profile_id

integer

Metadata profile ID.

Returned: always

Sample: 1

monitor_new_items

string

Monitor new items.

Returned: always

Sample: "all"

name

string

Name.

Returned: always

Sample: "Example"

protocol

string

Protocol.

Returned: always

Sample: "torrent"

quality_profile_id

integer

Quality profile ID.

Returned: always

Sample: 1

root_folder_path

string

Root folder.

Returned: always

Sample: "/tmp"

should_monitor

string

Should monitor.

Returned: always

Sample: "none"

should_monitor_existing

boolean

Should monitor existing flag.

Returned: always

Sample: false

boolean

Search on add flag.

Returned: always

Sample: false

tags

list / elements=integer

Tag list.

Returned: always

Sample: [1, 2]

Authors

  • Fuochi (@Fuochi)