initial commit

This commit is contained in:
2023-02-12 12:12:34 +01:00
commit 941fb1bd4b
16 changed files with 240 additions and 0 deletions

21
tasks/update.yml Normal file
View File

@@ -0,0 +1,21 @@
---
- name: "Run Updater"
become: true
become_user: "{{ nextcloud_user }}"
shell:
cmd: "{{ php_binary }} {{ php_arguments }} {{ nextcloud_path }}/updater/updater.phar --no-interaction"
- name: "Disable Maintenance-Mode"
include_tasks: "occ_command.yml"
vars:
occ_command: "maintenance:mode --off"
- name: "Run Updater Part 2"
include_tasks: "occ_command.yml"
vars:
occ_command: "upgrade --no-interaction"
- name: "Disable Maintenance-Mode"
include_tasks: "occ_command.yml"
vars:
occ_command: "maintenance:mode --on"