Commit 233cb085 authored by Chris Croome's avatar Chris Croome

main mode order changed

parent d74c83df
......@@ -75,6 +75,20 @@
msg: "{{ nextcloud_db_convert_filecache_bigint.stdout }}"
verbosity: 1
- name: Turn maintenance mode off
shell: php occ maintenance:mode --off
args:
executable: /bin/bash
chdir: /var/www/nextcloud
become_user: www-data
register: nextcloud_maintenance_mode_off
changed_when: "'Maintenance mode disabled' in nextcloud_maintenance_mode_off.stdout"
- name: Result of turn maintenance mode off
debug:
msg: "{{ nextcloud_maintenance_mode_off.stdout }}"
verbosity: 1
# https://docs.nextcloud.com/server/14/admin_manual/installation/source_installation.html#pretty-urls
- name: Remove index.php from URLs
shell: 'php occ config:system:set overwrite.cli.url --value="https://{{ common_name }}/"'
......@@ -126,17 +140,3 @@
name: collabora
when: apache_collabora_conf_enabled.stat.islnk is defined and apache_collabora_conf_enabled.stat.islnk
- name: Turn maintenance mode off
shell: php occ maintenance:mode --off
args:
executable: /bin/bash
chdir: /var/www/nextcloud
become_user: www-data
register: nextcloud_maintenance_mode_off
changed_when: "'Maintenance mode disabled' in nextcloud_maintenance_mode_off.stdout"
- name: Result of turn maintenance mode off
debug:
msg: "{{ nextcloud_maintenance_mode_off.stdout }}"
verbosity: 1
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment