mirror of
https://github.com/PyratLabs/ansible-role-k3s.git
synced 2024-11-10 10:01:52 +01:00
adding retries to restart k3s handler
This commit is contained in:
parent
4ed0727411
commit
dc571c375b
@ -12,6 +12,8 @@
|
|||||||
state: restarted
|
state: restarted
|
||||||
scope: "{{ k3s_systemd_context }}"
|
scope: "{{ k3s_systemd_context }}"
|
||||||
enabled: true
|
enabled: true
|
||||||
|
retries: 3
|
||||||
|
delay: 3
|
||||||
become: "{{ k3s_become_for_systemd | ternary(true, false, k3s_become_for_all) }}"
|
become: "{{ k3s_become_for_systemd | ternary(true, false, k3s_become_for_all) }}"
|
||||||
|
|
||||||
- name: restart docker
|
- name: restart docker
|
||||||
|
Loading…
Reference in New Issue
Block a user