mirror of
https://github.com/PyratLabs/ansible-role-k3s.git
synced 2024-11-22 11:48:22 +01:00
A retry has been added to task controlling secondary master startup.
Fixes #17 There appeared to be a race condition where starting all secondary masters all at once would cause the k3s service to fail on a number of the other masters. A retry has been added to the task to attempt to bring them all up until they stop failing.
This commit is contained in:
parent
f709caf371
commit
f684f6d907
@ -53,6 +53,10 @@
|
||||
name: k3s
|
||||
state: started
|
||||
enabled: true
|
||||
register: ensure_secondary_masters_started
|
||||
until: ensure_secondary_masters_started is succeeded
|
||||
retries: "{{ play_hosts | length }}"
|
||||
delay: 2
|
||||
when: k3s_control_node and not k3s_primary_control_node
|
||||
|
||||
- name: Wait for control plane to be ready to accept connections
|
||||
|
Loading…
Reference in New Issue
Block a user