13 lines
307 B
YAML
13 lines
307 B
YAML
|
---
|
||
|
- name: fetch k3s binary
|
||
|
get_url:
|
||
|
dest: /usr/local/sbin/k3s
|
||
|
mode: 0755
|
||
|
url: https://github.com/rancher/k3s/releases/download/v1.0.0/k3s
|
||
|
- name: k3s service file
|
||
|
template:
|
||
|
src: service-k3s.j2
|
||
|
dest: /etc/systemd/system/k3s.service
|
||
|
notify: start k3s
|
||
|
- name: enable and start k3s
|