Procházet zdrojové kódy

crio-firewall: install iptables

Vadim Rutkovsky před 6 roky
rodič
revize
fa9e9329aa
1 změnil soubory, kde provedl 5 přidání a 0 odebrání
  1. 5 0
      roles/container_runtime/tasks/crio_firewall.yml

+ 5 - 0
roles/container_runtime/tasks/crio_firewall.yml

@@ -1,6 +1,11 @@
 ---
 - when: r_crio_firewall_enabled | bool and not r_crio_use_firewalld | bool
   block:
+  - name: Make sure iptables-services is installed
+    package:
+      name: iptables-services
+      state: present
+
   - name: Add iptables allow rules
     os_firewall_manage_iptables:
       name: "{{ item.service }}"