ansible-role-k3s/handlers/main.yml

20 lines
371 B
YAML

---
- name: reload systemd
systemd:
daemon_reload: true
# when: molecule_is_test is not defined
- name: restart k3s
service:
name: k3s
state: restarted
enabled: true
# when: molecule_is_test is not defined
- name: restart docker
service:
name: docker
state: restarted
enabled: true
# when: molecule_is_test is not defined