1
0
Fork 0
mash-ansible-role-nextcloud/tasks/main.yml

37 lines
985 B
YAML
Raw Normal View History

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:
2024-10-08 14:57:49 +02:00
- post-install-all
- post-install-nextcloud
2023-03-17 10:34:15 +01:00
block:
- when: nextcloud_enabled | bool
2024-10-08 14:57:49 +02:00
ansible.builtin.include_tasks: "{{ role_path }}/tasks/post_install.yml"
2023-03-17 10:34:15 +01:00
- when: nextcloud_enabled | bool
2024-10-08 14:57:49 +02:00
ansible.builtin.include_tasks: "{{ role_path }}/tasks/adjust_config.yml"
2023-03-17 10:34:15 +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"