minor fixes
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
- name: "{{ nextcloud_path }}: Main Update block"
|
||||
when: "nextcloud_update_needed"
|
||||
block:
|
||||
- name: "Run Update"
|
||||
- name: "{{ nextcloud_path }}: Entering Updater"
|
||||
include_tasks: "update.yml"
|
||||
when: nextcloud_update_needed
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
- name: "Run OCC Command: {{ occ_command }}"
|
||||
- name: "{{ nextcloud_path }}: Run OCC Command: {{ occ_command }}"
|
||||
become: true
|
||||
become_user: "{{ nextcloud_user }}"
|
||||
shell:
|
||||
|
||||
@@ -1,21 +1,22 @@
|
||||
---
|
||||
- name: "Run Updater"
|
||||
- name: "{{ nextcloud_path }}: Run Updater.phar"
|
||||
become: true
|
||||
become_user: "{{ nextcloud_user }}"
|
||||
shell:
|
||||
chdir: "{{ nextcloud_path }}/updater"
|
||||
cmd: "alias \"php={{ php_binary }} {{ php_arguments }}\"; php {{ nextcloud_path }}/updater/updater.phar --no-interaction"
|
||||
|
||||
- name: "Disable Maintenance-Mode"
|
||||
- name: "{{ nextcloud_path }}: Disable Maintenance-Mode"
|
||||
include_tasks: "occ_command.yml"
|
||||
vars:
|
||||
occ_command: "maintenance:mode --off"
|
||||
|
||||
- name: "Run Updater Part 2"
|
||||
- name: "{{ nextcloud_path }}: Run Updater Part 2"
|
||||
include_tasks: "occ_command.yml"
|
||||
vars:
|
||||
occ_command: "upgrade --no-interaction"
|
||||
|
||||
- name: "Disable Maintenance-Mode"
|
||||
- name: "{{ nextcloud_path }}: Disable Maintenance-Mode"
|
||||
include_tasks: "occ_command.yml"
|
||||
vars:
|
||||
occ_command: "maintenance:mode --off"
|
||||
Reference in New Issue
Block a user