Skip to content
Snippets Groups Projects
Commit e208ded6 authored by Maxime Bombar's avatar Maxime Bombar
Browse files

[upgrade.yml] When ran in check_mode, do not attempt to change maintenance mode.

parent c4373487
No related branches found
No related tags found
No related merge requests found
...@@ -44,5 +44,6 @@ ...@@ -44,5 +44,6 @@
- name: Disable maintenance mode - name: Disable maintenance mode
command: "{{ occ_bin }} maintenance:mode --off" command: "{{ occ_bin }} maintenance:mode --off"
when: when:
- not ansible_check_mode
# Maintenance mode has not been enabled. # Maintenance mode has not been enabled.
- upgrade_owncloud.rc != 3 - upgrade_owncloud.rc != 3
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