ansible-collection-nextcloud/roles/nextcloud/tasks/config.yml

24 lines
616 B
YAML

---
- name: Disable Nextcloud apps
become: true
become_user: www-data
s3lph.nextcloud.app:
webroot: /var/lib/nextcloud/webroot
name: "{{ nextcloud_disabled_apps }}"
state: disabled
- name: Enable Nextcloud apps
become: true
become_user: www-data
s3lph.nextcloud.app:
webroot: /var/lib/nextcloud/webroot
name: "{{ nextcloud_enabled_apps }}"
- name: Apply Nextcloud configuration
become: true
become_user: www-data
s3lph.nextcloud.config:
webroot: /var/lib/nextcloud/webroot
system: "{{ nextcloud_system_configuration }}"
apps: "{{ nextcloud_apps_configuration }}"