initial commit
This commit is contained in:
21
tasks/update.yml
Normal file
21
tasks/update.yml
Normal 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"
|
||||
Reference in New Issue
Block a user