Do not run a health check against the service while in check mode

This commit is contained in:
Jan Beilicke 2020-11-26 22:20:43 +00:00
parent bf944c0579
commit 5b39dfb6fa

View file

@ -127,8 +127,8 @@
chdir: /home/{{ docker_user }}/nextcloud/
- name: "Test whether Nextcloud is healthy from the outside"
when: not ansible_check_mode
become: false
check_mode: no
uri:
url: "{{ nextcloud_overwrite_cli_url }}/login"
return_content: yes