serverctl/infrastructure/create-resources/ansible/roles/k3s/node/tasks/main.yml
kjuulh 4da3293569
All checks were successful
continuous-integration/drone/push Build is passing
Add nodes
2022-02-19 21:29:38 +01:00

16 lines
295 B
YAML

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