36 lines
985 B
YAML
36 lines
985 B
YAML
---
|
|
|
|
- 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:
|
|
- post-install-all
|
|
- post-install-nextcloud
|
|
block:
|
|
- when: nextcloud_enabled | bool
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/post_install.yml"
|
|
|
|
- when: nextcloud_enabled | bool
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/adjust_config.yml"
|
|
|
|
- tags:
|
|
- install-nextcloud-app-collabora
|
|
block:
|
|
- when: nextcloud_enabled | bool
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/app_install_collabora.yml"
|
|
|
|
- tags:
|
|
- setup-all
|
|
- setup-nextcloud
|
|
block:
|
|
- when: not nextcloud_enabled | bool
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/uninstall.yml"
|