summaryrefslogtreecommitdiffstats
path: root/playbooks
diff options
context:
space:
mode:
authorJason DeTiberus <jdetiber@redhat.com>2016-02-10 14:16:39 -0500
committerJason DeTiberus <jdetiber@redhat.com>2016-02-10 14:16:39 -0500
commit9a0dcd5dc1431ef21cb45b5abb3f55a28cc0ed93 (patch)
tree9d67f93c008717160cfdd12dc4706b11d6fa30ff /playbooks
parent9c9f0a1d138e8df7d415ee1752a1e8a1105240e5 (diff)
downloadopenshift-9a0dcd5dc1431ef21cb45b5abb3f55a28cc0ed93.tar.gz
openshift-9a0dcd5dc1431ef21cb45b5abb3f55a28cc0ed93.tar.bz2
openshift-9a0dcd5dc1431ef21cb45b5abb3f55a28cc0ed93.tar.xz
openshift-9a0dcd5dc1431ef21cb45b5abb3f55a28cc0ed93.zip
fix default value
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/common/openshift-master/config.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/playbooks/common/openshift-master/config.yml b/playbooks/common/openshift-master/config.yml
index aa1a8b34f..9bd6f73cf 100644
--- a/playbooks/common/openshift-master/config.yml
+++ b/playbooks/common/openshift-master/config.yml
@@ -397,7 +397,7 @@
hosts: oo_first_master
vars:
attach_registry_volume: "{{ openshift.hosted.registry.storage.kind != None }}"
- deploy_infra: "{{ openshift.master.infra_nodes | default(0) | length > 0 }}"
+ deploy_infra: "{{ openshift.master.infra_nodes | default([]) | length > 0 }}"
persistent_volumes: "{{ hostvars[groups.oo_first_master.0] | oo_persistent_volumes(groups) }}"
persistent_volume_claims: "{{ hostvars[groups.oo_first_master.0] | oo_persistent_volume_claims }}"
roles: