We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7480636 commit fe4ddc7Copy full SHA for fe4ddc7
src/main/scripts/ci/ansible/deploy.yml
@@ -31,7 +31,7 @@
31
monitorid: "{{ uptimerobot.monitorid }}"
32
apikey: "{{ uptimerobot.apikey }}"
33
state: paused
34
- when: uptimerobot is defined and uptimerobot.monitorid != '' and uptimerobot.apikey != ''
+ when: uptimerobot is defined and uptimerobot.monitorid and uptimerobot.apikey
35
36
# we can't use service module here because our sudoers allows to execute only exact commands
37
- name: Stopping service
@@ -57,5 +57,5 @@
57
58
59
state: started
60
61
0 commit comments