devopsarr / devopsarr.lidarr / 1.0.0 / module / lidarr_custom_format Manages Lidarr custom format. | "added in version" 1.0.0 of devopsarr.lidarr" Authors: Fuochi (@Fuochi)devopsarr.lidarr.lidarr_custom_format (1.0.0) — module
Install with ansible-galaxy collection install devopsarr.lidarr:==1.0.0
collections: - name: devopsarr.lidarr version: 1.0.0
Manages Lidarr custom format.
--- # Create a custom format - name: Create a custom format devopsarr.lidarr.lidarr_custom_format: include_custom_format_when_renaming: false name: "Size" specifications: - name: "size" implementation: "SizeSpecification" negate: false required: true fields: - name: "min" value: 0 - name: "max" value: 10
# Delete a custom format - name: Delete a custom format devopsarr.lidarr.lidarr_custom_format: name: Example state: absent
name: description: Name. 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 specifications: description: Specification list. elements: dict suboptions: fields: description: Configuration field list. elements: dict suboptions: name: description: Field name. type: str value: description: Field value. type: raw type: list implementation: description: Implementation. type: str name: description: Specification name. type: str negate: description: Negate flag. type: bool required: description: Required flag. type: bool type: list include_custom_format_when_renaming: description: Include custom format when renaming flag. type: bool
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