summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-master/config.yml
diff options
context:
space:
mode:
authorJason DeTiberus <jdetiber@redhat.com>2016-01-21 10:34:01 -0500
committerJason DeTiberus <jdetiber@redhat.com>2016-01-21 10:34:01 -0500
commit1063ae15fce7ffddad8562af1d1c3bfdc32c4b87 (patch)
tree8f3c12c72f657c704e99ee5966bc1278bd5a6231 /playbooks/common/openshift-master/config.yml
parent8ce35b40a55f46f716f280054594c8b5d39cd547 (diff)
downloadopenshift-1063ae15fce7ffddad8562af1d1c3bfdc32c4b87.tar.gz
openshift-1063ae15fce7ffddad8562af1d1c3bfdc32c4b87.tar.bz2
openshift-1063ae15fce7ffddad8562af1d1c3bfdc32c4b87.tar.xz
openshift-1063ae15fce7ffddad8562af1d1c3bfdc32c4b87.zip
Fix error when oo_masters_to_config is empty
Diffstat (limited to 'playbooks/common/openshift-master/config.yml')
-rw-r--r--playbooks/common/openshift-master/config.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/playbooks/common/openshift-master/config.yml b/playbooks/common/openshift-master/config.yml
index 0df03f194..24f4c1bd9 100644
--- a/playbooks/common/openshift-master/config.yml
+++ b/playbooks/common/openshift-master/config.yml
@@ -85,6 +85,7 @@
etcd_generated_certs_dir: /etc/etcd/generated_certs
etcd_needing_client_certs: "{{ hostvars
| oo_select_keys(groups['oo_masters_to_config'])
+ | default([])
| oo_filter_list(filter_attr='etcd_client_certs_missing') }}"
sync_tmpdir: "{{ hostvars.localhost.g_master_mktemp.stdout }}"
roles: