]> git.t-ch.net - malyna-ansible.git/commitdiff
no bf_filter
authorLexie Malina <alex@t-ch.net>
Wed, 16 Aug 2023 23:46:59 +0000 (19:46 -0400)
committerLexie Malina <alex@t-ch.net>
Wed, 16 Aug 2023 23:46:59 +0000 (19:46 -0400)
install_k8s_pkgs.ansible.yaml

index 85826047b9d6e929efdf3ebf0cd0d638c9b68006..50fc454a84e32c745143ff6286cb36d3df003ac5 100644 (file)
@@ -3,20 +3,20 @@
   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
@@ -42,6 +42,7 @@
           - kubelet
           - kubeadm
           - kubectl
+          - kubelet
           - containerd
           - uuidgen
           - nfs-utils
 
 
     
-    
\ No newline at end of file
+