|
- _nextcloud_config: "{{ _nextcloud_config_cmd.stdout | from_json }}"
- _nextcloud_latest: "{{ lookup('template','nextcloud-latest.json.j2') |from_json }}"
- _nextcloud_apps: "{{ lookup('template','nextcloud-apps.json.j2') }}"
- _nextcloud_apps_enabled: "{{ _nextcloud_occ_app_list.stdout | from_yaml | json_query('Enabled|[]|map(&keys(@), @)|[]') }}"
- _nextcloud_apps_disabled: "{{ _nextcloud_occ_app_list.stdout | from_yaml | json_query('Disabled|[]') }}"
- _nextcloud_apps_present: "{{ _nextcloud_apps_enabled | union(_nextcloud_apps_disabled) }}"
|