10 lines
261 B
YAML
10 lines
261 B
YAML
---
|
|
# Part of role: k3s-agent
|
|
# Called by: ansible/roles/k3s-agent/tasks/main.yaml
|
|
# Description: Restarts the K3s agent when its config.yaml or resolv.conf changes.
|
|
|
|
- name: Restart k3s-agent
|
|
ansible.builtin.service:
|
|
name: k3s-agent
|
|
state: restarted
|