From 8952b5670d9f5fdeffdeaaddd99586df3bd56f63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20Pab=C3=B3n?= Date: Wed, 4 Oct 2023 17:17:27 -0400 Subject: [PATCH] save iptables --- roles/common/tasks/main.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/roles/common/tasks/main.yml b/roles/common/tasks/main.yml index 16684bb..6fc4757 100644 --- a/roles/common/tasks/main.yml +++ b/roles/common/tasks/main.yml @@ -69,9 +69,12 @@ - name: enable iptables service: name=iptables state=started enabled=yes -- name: allow everything +- name: iptables allow everything command: iptables -F +- name: save iptables + command: service iptables save + - name: install containerd repo from Docker command: dnf config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo