Commit d1756b6b authored by Chris Croome's avatar Chris Croome

debug moved

parent 6ea54f2a
Pipeline #6327 passed with stage
in 23 seconds
......@@ -24,6 +24,11 @@
register: nextcloud_maintenance_mode_on
changed_when: "'Maintenance mode enabled' in nextcloud_maintenance_mode_on.stdout"
- name: Result of turn maintenance mode on
debug:
msg: "{{ nextcloud_maintenance_mode_on.stdout }}"
verbosity: 1
- name: Backup the nextcloud database
shell: "mysqldump --default-character-set=utf8mb4 nextcloud > /var/backups/mysql/nextcloud.sql"
......@@ -42,11 +47,6 @@
changed_when: "'No update available' not in nextcloud_updater.stdout"
failed_when: "'No update available' not in nextcloud_updater.stdout and 'Update successful' not in nextcloud_updater.stdout"
- name: Result of turn maintenance mode on
debug:
msg: "{{ nextcloud_maintenance_mode_on.stdout }}"
verbosity: 1
- name: Add database indexes
shell: php occ db:add-missing-indices
args:
......
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