1
0
Fork 0
home-stack-ansible/roles/k3s/tasks/lxc.yml

19 lines
541 B
YAML
Raw Normal View History

2021-12-28 04:01:35 +00:00
# warning: iscsi is incompatible with lxc!
# https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1226855
2021-12-15 01:55:52 +00:00
- name: Download amd64 k3s binary
get_url:
url: https://github.com/k3s-io/k3s/releases/download/{{ k3s.version }}/k3s
checksum: sha256:https://github.com/k3s-io/k3s/releases/download/{{ k3s.version }}/sha256sum-amd64.txt
dest: /usr/local/bin/k3s
owner: root
group: root
mode: 0755
notify: reboot
- name: Configure /etc/rc.local
copy:
src: rc.local
dest: /etc/rc.local
mode: +x
notify: reboot