Skip to content
Snippets Groups Projects
Commit f23e2865 authored by jurgenhaas's avatar jurgenhaas
Browse files

Set nextcloud into maintenance mode while updating

parent 2f7a422b
No related branches found
No related tags found
No related merge requests found
......@@ -22,6 +22,14 @@
tags:
- always
- name: Enable Maintenance Mode
command: '{{ webRoot }}/occ maintenance:mode --on --no-interaction --no-warnings'
become_user: '{{ apacheUser }}'
ignore_errors: yes
tags:
- deploy
- plugins
- name: Configure Apache
include_tasks: apache.yml
tags:
......@@ -251,3 +259,11 @@
when: nextcloud.spreed is defined
tags:
- deploy
- name: Disable Maintenance Mode
command: '{{ webRoot }}/occ maintenance:mode --off --no-interaction --no-warnings'
become_user: '{{ apacheUser }}'
ignore_errors: yes
tags:
- deploy
- plugins
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment