summaryrefslogtreecommitdiffstats
path: root/roles/os_firewall
diff options
context:
space:
mode:
authorDenver Janke <denverjanke@gmail.com>2017-08-10 10:29:50 +1000
committerGitHub <noreply@github.com>2017-08-10 10:29:50 +1000
commitbb9a4c7db6c87d9cc8c9be71011c0f450fb64903 (patch)
tree336cd679ae121914e2d7f42c97625b5dbe1a9019 /roles/os_firewall
parent5fe4c8c5478ef8b87f88b413c9033ff68987d4e1 (diff)
downloadopenshift-bb9a4c7db6c87d9cc8c9be71011c0f450fb64903.tar.gz
openshift-bb9a4c7db6c87d9cc8c9be71011c0f450fb64903.tar.bz2
openshift-bb9a4c7db6c87d9cc8c9be71011c0f450fb64903.tar.xz
openshift-bb9a4c7db6c87d9cc8c9be71011c0f450fb64903.zip
Start iptables on each master in serial
Fix task hanging when running from a master
Diffstat (limited to 'roles/os_firewall')
-rw-r--r--roles/os_firewall/tasks/firewall/iptables.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/os_firewall/tasks/firewall/iptables.yml b/roles/os_firewall/tasks/firewall/iptables.yml
index 55f2fc471..b4e6ec1f7 100644
--- a/roles/os_firewall/tasks/firewall/iptables.yml
+++ b/roles/os_firewall/tasks/firewall/iptables.yml
@@ -29,6 +29,9 @@
masked: no
daemon_reload: yes
register: result
+ delegate_to: "{{item}}"
+ run_once: true
+ with_items: "{{ ansible_play_hosts }}"
- name: need to pause here, otherwise the iptables service starting can sometimes cause ssh to fail
pause: seconds=10