vars:
ansible_become_method: doas
tasks:
- - name: Enable br_netfilter kernel module
- become: true
- shell:
- cmd: modprobe br_netfilter
-
- - name: Enable br_netfilter kernel module on boot
- become: true
- lineinfile:
- path: /etc/modules-load.d/k8s.conf
- line: |
- #!/bin/sh
- mount --make-rshared /
- insertbefore: BOF
- create: true
+ # - name: Enable br_netfilter kernel module
+ # become: true
+ # shell:
+ # cmd: modprobe br_netfilter
+ #
+ # - name: Enable br_netfilter kernel module on boot
+ # become: true
+ # lineinfile:
+ # path: /etc/modules-load.d/k8s.conf
+ # line: |
+ # #!/bin/sh
+ # mount --make-rshared /
+ # insertbefore: BOF
+ # create: true
- name: Enable ipv4 packetforwarding
become: true
- kubelet
- kubeadm
- kubectl
+ - kubelet
- containerd
- uuidgen
- nfs-utils
-
\ No newline at end of file
+