From 104400bff26e7522ab6e023bcd5a247d3931c4e9 Mon Sep 17 00:00:00 2001 From: Russell Teague Date: Tue, 29 Aug 2017 12:38:39 -0400 Subject: Move firewall install and fix scaleup playbooks --- playbooks/common/openshift-etcd/config.yml | 1 + playbooks/common/openshift-etcd/scaleup.yml | 2 ++ 2 files changed, 3 insertions(+) (limited to 'playbooks/common/openshift-etcd') diff --git a/playbooks/common/openshift-etcd/config.yml b/playbooks/common/openshift-etcd/config.yml index 2cb6197d1..f2b85eea1 100644 --- a/playbooks/common/openshift-etcd/config.yml +++ b/playbooks/common/openshift-etcd/config.yml @@ -3,6 +3,7 @@ hosts: oo_etcd_to_config any_errors_fatal: true roles: + - role: os_firewall - role: openshift_etcd etcd_peers: "{{ groups.oo_etcd_to_config | default([], true) }}" etcd_ca_host: "{{ groups.oo_etcd_to_config.0 }}" diff --git a/playbooks/common/openshift-etcd/scaleup.yml b/playbooks/common/openshift-etcd/scaleup.yml index 52b90daca..dab3c681c 100644 --- a/playbooks/common/openshift-etcd/scaleup.yml +++ b/playbooks/common/openshift-etcd/scaleup.yml @@ -28,6 +28,8 @@ delay: 10 until: etcd_add_check.rc == 0 roles: + - role: os_firewall + when: etcd_add_check.rc == 0 - role: openshift_etcd when: etcd_add_check.rc == 0 etcd_peers: "{{ groups.oo_etcd_to_config | union(groups.oo_new_etcd_to_config)| default([], true) }}" -- cgit v1.2.3