You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

30 lines
455 B

- name: cmdline.txt
become: true
copy:
src: resources/k3s/{{ item }}
dest: /boot
owner: root
group: root
mode: '0755'
with_items:
- cmdline.txt
- name: iptables
become: true
shell: >
iptables -F
- name: create k3s dir
file:
path: ~/k3s-setup
state: directory
- name: Install k3s
become: true
shell: >
curl -sfL https://get.k3s.io | K3S_KUBECONFIG_MODE=”644” sh -
- name: Neustart
reboot: