Explorar el Código

crio-firewall: install iptables

Vadim Rutkovsky hace 6 años
padre
commit
fa9e9329aa
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  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 }}"