mirror of
https://github.com/PyratLabs/ansible-role-k3s.git
synced 2024-12-22 16:38:02 +01:00
Bugfix, missing k3s_start_on_boot
to control systemd.enabled
added.
This commit is contained in:
parent
2c12436226
commit
5555bd3d9b
@ -14,6 +14,14 @@
|
||||
---
|
||||
-->
|
||||
|
||||
## 2021-01-30, v2.5.2
|
||||
|
||||
### Notable changes
|
||||
|
||||
- Bugfix, missing `k3s_start_on_boot` to control `systemd.enabled` added.
|
||||
|
||||
---
|
||||
|
||||
## 2021-01-30, v2.5.1
|
||||
|
||||
### Notable changes
|
||||
|
@ -61,7 +61,7 @@
|
||||
ansible.builtin.systemd:
|
||||
name: k3s
|
||||
state: started
|
||||
enabled: true
|
||||
enabled: "{{ k3s_start_on_boot }}"
|
||||
register: ensure_secondary_controllers_started
|
||||
until: ensure_secondary_controllers_started is succeeded
|
||||
retries: "{{ ansible_play_hosts_all | length }}"
|
||||
|
@ -18,7 +18,7 @@
|
||||
ansible.builtin.systemd:
|
||||
name: k3s
|
||||
state: started
|
||||
enabled: true
|
||||
enabled: "{{ k3s_start_on_boot }}"
|
||||
scope: "{{ k3s_systemd_context }}"
|
||||
when: (k3s_control_node and k3s_controller_list | length == 1)
|
||||
or (k3s_primary_control_node and k3s_controller_list | length > 1)
|
||||
|
Loading…
Reference in New Issue
Block a user