2022-03-26 22:05:57 +00:00
|
|
|
---
|
|
|
|
- name: template k3s server systemd
|
|
|
|
template:
|
|
|
|
src: templates/k3s.service.j2
|
|
|
|
dest: /etc/systemd/system/k3s.service
|
|
|
|
owner: root
|
|
|
|
group: root
|
|
|
|
mode: 0644
|
|
|
|
|
|
|
|
- name: enable and start k3s
|
|
|
|
systemd:
|
|
|
|
daemon_reload: yes
|
|
|
|
enabled: yes
|
|
|
|
name: k3s
|
|
|
|
state: started
|
2022-08-04 20:52:12 +00:00
|
|
|
|
|
|
|
- name: ensure nfsd is installed
|
|
|
|
apt:
|
|
|
|
name: nfs-common
|
|
|
|
state: present
|
2022-03-26 22:05:57 +00:00
|
|
|
...
|