Skip to content

Commit aed285e

Browse files
committed
ci(deploy.yml): retry and ignore errors from uptimerobot ansible module.
Workaround for #1089
1 parent 245ad38 commit aed285e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/main/scripts/ci/ansible/deploy.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@
3434
monitorid: "{{ uptimerobot.monitorid }}"
3535
apikey: "{{ uptimerobot.apikey }}"
3636
state: paused
37+
retries: 5
38+
delay: 1
39+
ignore_errors: yes
3740
when: uptimerobot is defined and uptimerobot.monitorid and uptimerobot.apikey
3841

3942
# we can't use systemd module here because our sudoers allows to execute only exact commands
@@ -60,5 +63,8 @@
6063
monitorid: "{{ uptimerobot.monitorid }}"
6164
apikey: "{{ uptimerobot.apikey }}"
6265
state: started
66+
retries: 5
67+
delay: 1
68+
ignore_errors: yes
6369
when: uptimerobot is defined and uptimerobot.monitorid and uptimerobot.apikey
6470

0 commit comments

Comments
 (0)