mirror of
https://github.com/PyratLabs/ansible-role-k3s.git
synced 2024-11-25 12:15:51 +01:00
f2a3f75f08
as an option, however this is experimental in both K3s and this role.
20 lines
317 B
YAML
20 lines
317 B
YAML
---
|
|
|
|
- name: reload systemd
|
|
systemd:
|
|
daemon_reload: true
|
|
scope: "{{ k3s_systemd_context }}"
|
|
|
|
- name: restart k3s
|
|
systemd:
|
|
name: k3s
|
|
state: restarted
|
|
scope: "{{ k3s_systemd_context }}"
|
|
enabled: true
|
|
|
|
- name: restart docker
|
|
systemd:
|
|
name: docker
|
|
state: restarted
|
|
enabled: true
|