mirror of
https://github.com/RWejlgaard/pez-infra.git
synced 2026-05-06 04:14:43 +00:00
bug: add retry to restarting caddy
This commit is contained in:
parent
abb283c1d7
commit
4eda806330
1 changed files with 4 additions and 0 deletions
|
|
@ -3,3 +3,7 @@
|
||||||
ansible.builtin.service:
|
ansible.builtin.service:
|
||||||
name: caddy
|
name: caddy
|
||||||
state: reloaded
|
state: reloaded
|
||||||
|
register: caddy_reload_result
|
||||||
|
until: caddy_reload_result is succeeded
|
||||||
|
retries: 3
|
||||||
|
delay: 5
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue