2023-03-17 10:34:15 +01:00
|
|
|
---
|
|
|
|
|
|
|
|
- tags:
|
|
|
|
- setup-all
|
|
|
|
- setup-nextcloud
|
|
|
|
- install-all
|
|
|
|
- install-nextcloud
|
|
|
|
block:
|
|
|
|
- when: nextcloud_enabled | bool
|
|
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/validate_config.yml"
|
|
|
|
|
|
|
|
- when: nextcloud_enabled | bool
|
|
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/install.yml"
|
|
|
|
|
|
|
|
- tags:
|
|
|
|
- adjust-nextcloud-config
|
|
|
|
block:
|
|
|
|
- when: nextcloud_enabled | bool
|
|
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/adjust_config.yml"
|
|
|
|
|
|
|
|
- tags:
|
|
|
|
- print-nextcloud-db-credentials
|
|
|
|
block:
|
|
|
|
- when: nextcloud_enabled | bool
|
|
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/print_db_credentials.yml"
|
|
|
|
|
2023-03-17 12:51:45 +01:00
|
|
|
- tags:
|
|
|
|
- install-nextcloud-app-collabora
|
|
|
|
block:
|
|
|
|
- when: nextcloud_enabled | bool
|
|
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/app_install_collabora.yml"
|
|
|
|
|
2023-03-17 10:34:15 +01:00
|
|
|
- tags:
|
|
|
|
- setup-all
|
|
|
|
- setup-nextcloud
|
|
|
|
block:
|
|
|
|
- when: not nextcloud_enabled | bool
|
|
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/uninstall.yml"
|