k3s-ansible/roles/k3s/node/tasks/main.yml
Vincent RABAH 85b01829fb Ansible provisionning (#217)
Ansible provisionning contrib
2019-04-26 21:10:27 +02:00

17 lines
286 B
YAML

---
- name: Copy K3s service file
template:
src: "k3s.service.j2"
dest: "{{ systemd_dir }}/k3s.service"
owner: root
group: root
mode: 0755
- name: Enable and check K3s service
systemd:
name: k3s
daemon_reload: yes
state: restarted
enabled: yes