diff options
author | Russell Teague <rteague@redhat.com> | 2017-08-29 12:38:39 -0400 |
---|---|---|
committer | Russell Teague <rteague@redhat.com> | 2017-08-29 12:47:00 -0400 |
commit | 104400bff26e7522ab6e023bcd5a247d3931c4e9 (patch) | |
tree | 0e7453a5c6a405f678590a44285464a3e5c4dcf7 /playbooks/common/openshift-etcd | |
parent | 76344e68b32059d23e649a8bfc7a6b6bdafc84b7 (diff) | |
download | openshift-104400bff26e7522ab6e023bcd5a247d3931c4e9.tar.gz openshift-104400bff26e7522ab6e023bcd5a247d3931c4e9.tar.bz2 openshift-104400bff26e7522ab6e023bcd5a247d3931c4e9.tar.xz openshift-104400bff26e7522ab6e023bcd5a247d3931c4e9.zip |
Move firewall install and fix scaleup playbooks
Diffstat (limited to 'playbooks/common/openshift-etcd')
-rw-r--r-- | playbooks/common/openshift-etcd/config.yml | 1 | ||||
-rw-r--r-- | playbooks/common/openshift-etcd/scaleup.yml | 2 |
2 files changed, 3 insertions, 0 deletions
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) }}" |