summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-08-15 09:53:19 -0400
committerGitHub <noreply@github.com>2017-08-15 09:53:19 -0400
commit0a439f29d56f152f60d360546e83a5130656c7a6 (patch)
tree339a96270a97f55574d682ffcc7628c995a8f673 /roles
parent1cd05ed2d7e004efa9c05d56992dd7c30776eec9 (diff)
parentbb9a4c7db6c87d9cc8c9be71011c0f450fb64903 (diff)
downloadopenshift-0a439f29d56f152f60d360546e83a5130656c7a6.tar.gz
openshift-0a439f29d56f152f60d360546e83a5130656c7a6.tar.bz2
openshift-0a439f29d56f152f60d360546e83a5130656c7a6.tar.xz
openshift-0a439f29d56f152f60d360546e83a5130656c7a6.zip
Merge pull request #5051 from DenverJ/fix-iptables-reload
Start iptables on each master in serial
Diffstat (limited to 'roles')
-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 ccb3c4713..7e1fa2c02 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