ansible-role-nextcloud/tasks/main.yml

51 lines
1 KiB
YAML

---
- name: "Versionen prüfen"
include_tasks: version.yml
tags: version
loop: "{{ instances }}"
loop_control:
loop_var: instance
- import_tasks: packages.yml
- name: "Gateway einrichten"
include_tasks: gateway.yml
loop: "{{ instances }}"
loop_control:
loop_var: instance
- name: "Datenbank einrichten"
include_tasks: database.yml
tags: database
loop: "{{ instances }}"
loop_control:
loop_var: instance
- name: "PHP-FPM einrichten"
include_tasks: php.yml
loop: "{{ instances }}"
loop_control:
loop_var: instance
- name: "Webserver einrichten"
include_tasks: apache.yml
loop: "{{ instances }}"
loop_control:
loop_var: instance
- import_tasks: redis.yml
- name: "Nextcloud einrichten"
include_tasks: nextcloud.yml
tags: nextcloud
loop: "{{ instances }}"
loop_control:
loop_var: instance
when: nc_is_installed.stat.exists == False
- name: "Hotfixes installieren"
include_tasks: fixes.yml
tags: fixes
loop: "{{ instances }}"
loop_control:
loop_var: instance