summaryrefslogtreecommitdiffstats
path: root/roles/os_firewall
diff options
context:
space:
mode:
authorJhon Honce <jhonce@redhat.com>2015-03-24 09:43:36 -0700
committerJhon Honce <jhonce@redhat.com>2015-03-24 11:35:49 -0700
commit41740bc6e177e58a0aa817e2d940e60be51d3bfe (patch)
tree678c237d4e9b26b9c365226f3a80dc853d93efd9 /roles/os_firewall
parent01ee65e99d39265f7d8db3ddbeca5d59ddfa2038 (diff)
downloadopenshift-41740bc6e177e58a0aa817e2d940e60be51d3bfe.tar.gz
openshift-41740bc6e177e58a0aa817e2d940e60be51d3bfe.tar.bz2
openshift-41740bc6e177e58a0aa817e2d940e60be51d3bfe.tar.xz
openshift-41740bc6e177e58a0aa817e2d940e60be51d3bfe.zip
Revert "Jwhonce wip/cluster"
Diffstat (limited to 'roles/os_firewall')
-rw-r--r--roles/os_firewall/tasks/firewall/iptables.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/os_firewall/tasks/firewall/iptables.yml b/roles/os_firewall/tasks/firewall/iptables.yml
index 87e77c083..72a3401cf 100644
--- a/roles/os_firewall/tasks/firewall/iptables.yml
+++ b/roles/os_firewall/tasks/firewall/iptables.yml
@@ -41,6 +41,14 @@
changed_when: "'firewalld' in result.stdout"
when: pkg_check.rc == 0
+# Workaround for Docker 1.4 to create DOCKER chain
+- name: Add DOCKER chain
+ os_firewall_manage_iptables:
+ name: "DOCKER chain"
+ action: verify_chain
+ create_jump_rule: no
+# End of Docker 1.4 workaround
+
- name: Add iptables allow rules
os_firewall_manage_iptables:
name: "{{ item.service }}"