devopsarr / devopsarr.sonarr / 0.6.0 / module / sonarr_root_folder Manages Sonarr root folder. | "added in version" 0.0.2 of devopsarr.sonarr" Authors: Fuochi (@Fuochi)devopsarr.sonarr.sonarr_root_folder (0.6.0) — module
Install with ansible-galaxy collection install devopsarr.sonarr:==0.6.0
collections: - name: devopsarr.sonarr version: 0.6.0
Manages Sonarr root folder.
--- # Create a root folder - name: Create a root folder devopsarr.sonarr.sonarr_root_folder: path: '/series'
# Delete a root folder - name: Delete a root_folder devopsarr.sonarr.sonarr_root_folder: path: '/series' state: absent
path: description: Actual root folder. required: true type: str state: choices: - present - absent default: present description: Create or delete a root_folder. required: false type: str sonarr_url: description: Full Sonarr URL with protocol and port (e.g. `https://test.sonarr.tv:8989`) required: true type: str sonarr_api_key: description: API key for Sonarr authentication. required: true type: str
accessible: description: Access flag. returned: on create/update sample: 'true' type: str id: description: root folder ID. returned: always sample: '1' type: int path: description: The root folder path. returned: on create/update sample: /series type: str unmapped_folders: description: List of unmapped folders returned: always sample: '[]' type: dict