summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-master
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-master
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-master')
-rw-r--r--playbooks/common/openshift-master/config.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/playbooks/common/openshift-master/config.yml b/playbooks/common/openshift-master/config.yml
index ff1579218..902fde956 100644
--- a/playbooks/common/openshift-master/config.yml
+++ b/playbooks/common/openshift-master/config.yml
@@ -60,7 +60,7 @@
register: g_external_etcd_cert_stat_result
- set_fact:
etcd_client_certs_missing: "{{ g_external_etcd_cert_stat_result.results
- | map(attribute='stat.exists')
+ | oo_collect(attribute='stat.exists')
| list | intersect([false])}}"
etcd_cert_subdir: openshift-master-{{ openshift.common.hostname }}
etcd_cert_config_dir: "{{ openshift.common.config_base }}/master"
@@ -157,7 +157,7 @@
register: g_master_cert_stat_result
- set_fact:
master_certs_missing: "{{ False in (g_master_cert_stat_result.results
- | map(attribute='stat.exists')
+ | oo_collect(attribute='stat.exists')
| list ) }}"
master_cert_subdir: master-{{ openshift.common.hostname }}
master_cert_config_dir: "{{ openshift.common.config_base }}/master"
@@ -257,11 +257,11 @@
- set_fact:
session_auth_secret: "{{ openshift_master_session_auth_secrets
| default(session_auth_output.results
- | map(attribute='stdout')
+ | oo_collect(attribute='stdout')
| list) }}"
session_encryption_secret: "{{ openshift_master_session_encryption_secrets
| default(session_encryption_output.results
- | map(attribute='stdout')
+ | oo_collect(attribute='stdout')
| list) }}"
- name: Parse named certificates