summaryrefslogtreecommitdiffstats
path: root/playbooks/common
diff options
context:
space:
mode:
authorSylvain Baubeau <sbaubeau@redhat.com>2015-10-27 16:16:44 +0100
committerSylvain Baubeau <sbaubeau@redhat.com>2015-10-27 17:42:57 +0100
commit4db5a237af8b826b52622e1b79017df98611ab10 (patch)
tree66514947b94467deba5815a5f0f82a371bad0649 /playbooks/common
parent7e552e7ce4b6bd7dbd99a8fcaf1a6de87f8c8bee (diff)
downloadopenshift-4db5a237af8b826b52622e1b79017df98611ab10.tar.gz
openshift-4db5a237af8b826b52622e1b79017df98611ab10.tar.bz2
openshift-4db5a237af8b826b52622e1b79017df98611ab10.tar.xz
openshift-4db5a237af8b826b52622e1b79017df98611ab10.zip
Check etcd certs exist for flannel when its support is enabled
Diffstat (limited to 'playbooks/common')
-rw-r--r--playbooks/common/openshift-node/config.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/playbooks/common/openshift-node/config.yml b/playbooks/common/openshift-node/config.yml
index 5f0f329c4..ba96b4a78 100644
--- a/playbooks/common/openshift-node/config.yml
+++ b/playbooks/common/openshift-node/config.yml
@@ -52,7 +52,7 @@
etcd_cert_subdir: openshift-node-{{ openshift.common.hostname }}
etcd_cert_config_dir: "{{ openshift.common.config_base }}/node"
etcd_cert_prefix: node.etcd-
- when: groups.oo_etcd_to_config is defined and groups.oo_etcd_to_config
+ when: groups.oo_etcd_to_config is defined and groups.oo_etcd_to_config and (openshift.common.use_flannel | bool)
- name: Create temp directory for syncing certs
hosts: localhost