summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorIvan Chavero <ichavero@redhat.com>2018-01-08 23:59:06 -0700
committerIvan Chavero <ichavero@redhat.com>2018-01-08 23:59:06 -0700
commitad407eec89613c053af0a2b8ad7b7316f26b5f5d (patch)
tree7389b8ab19605674b483e5fea992a90ca22feacd /roles
parent2677555faa38a552f1b61f4ff9adf10165084672 (diff)
downloadopenshift-ad407eec89613c053af0a2b8ad7b7316f26b5f5d.tar.gz
openshift-ad407eec89613c053af0a2b8ad7b7316f26b5f5d.tar.bz2
openshift-ad407eec89613c053af0a2b8ad7b7316f26b5f5d.tar.xz
openshift-ad407eec89613c053af0a2b8ad7b7316f26b5f5d.zip
Add iptables save handler
Diffstat (limited to 'roles')
-rw-r--r--roles/flannel/handlers/main.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/flannel/handlers/main.yml b/roles/flannel/handlers/main.yml
index 889069485..f7893394d 100644
--- a/roles/flannel/handlers/main.yml
+++ b/roles/flannel/handlers/main.yml
@@ -21,3 +21,7 @@
until: not l_restart_node_result | failed
retries: 3
delay: 30
+
+- name: save iptable rules
+ become: yes
+ command: 'iptables-save'