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

certbot_on_virtu
_pollion 2020-04-14 14:43:35 +02:00
parent c437348733
commit e208ded652
1 changed files with 1 additions and 0 deletions

View File

@ -44,5 +44,6 @@
- name: Disable maintenance mode
command: "{{ occ_bin }} maintenance:mode --off"
when:
- not ansible_check_mode
# Maintenance mode has not been enabled.
- upgrade_owncloud.rc != 3