summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-etcd
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2015-11-20 09:17:16 -0500
committerAndrew Butcher <abutcher@redhat.com>2015-11-20 09:26:44 -0500
commit8741b61d46361deffd5d67a310f1995ae2217b77 (patch)
treec02272ea8e6c0baf663a7fa666e8aea1fffd8baf /playbooks/common/openshift-etcd
parent248decb5a36906160ed820602ac2227b44023afb (diff)
downloadopenshift-8741b61d46361deffd5d67a310f1995ae2217b77.tar.gz
openshift-8741b61d46361deffd5d67a310f1995ae2217b77.tar.bz2
openshift-8741b61d46361deffd5d67a310f1995ae2217b77.tar.xz
openshift-8741b61d46361deffd5d67a310f1995ae2217b77.zip
Replace map with oo_collect to support python-jinja2 <2.7
Diffstat (limited to 'playbooks/common/openshift-etcd')
-rw-r--r--playbooks/common/openshift-etcd/config.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/playbooks/common/openshift-etcd/config.yml b/playbooks/common/openshift-etcd/config.yml
index ed23ada88..7d94ced2e 100644
--- a/playbooks/common/openshift-etcd/config.yml
+++ b/playbooks/common/openshift-etcd/config.yml
@@ -24,7 +24,7 @@
- /etc/etcd/ca.crt
register: g_etcd_server_cert_stat_result
- set_fact:
- etcd_server_certs_missing: "{{ g_etcd_server_cert_stat_result.results | map(attribute='stat.exists')
+ etcd_server_certs_missing: "{{ g_etcd_server_cert_stat_result.results | oo_collect(attribute='stat.exists')
| list | intersect([false])}}"
etcd_cert_subdir: etcd-{{ openshift.common.hostname }}
etcd_cert_config_dir: /etc/etcd