summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2017-03-22 17:00:05 -0400
committerKenny Woodson <kwoodson@redhat.com>2017-03-22 17:00:05 -0400
commit78c56667054c2df299c2c94edf82226f20dc8af7 (patch)
tree130ecb26e188b71a5a56d47df21820a982ee4648
parent27e47d32dc795dd27e901ca8618c90b7c1303547 (diff)
downloadopenshift-78c56667054c2df299c2c94edf82226f20dc8af7.tar.gz
openshift-78c56667054c2df299c2c94edf82226f20dc8af7.tar.bz2
openshift-78c56667054c2df299c2c94edf82226f20dc8af7.tar.xz
openshift-78c56667054c2df299c2c94edf82226f20dc8af7.zip
Setting defaults on openshift_hosted.
-rw-r--r--roles/openshift_hosted/defaults/main.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/roles/openshift_hosted/defaults/main.yml b/roles/openshift_hosted/defaults/main.yml
index 0a6299c9b..32bcd8d08 100644
--- a/roles/openshift_hosted/defaults/main.yml
+++ b/roles/openshift_hosted/defaults/main.yml
@@ -14,11 +14,11 @@ openshift_hosted_router_edits:
openshift_hosted_routers:
- name: router
- replicas: "{{ replicas }}"
+ replicas: "{{ replicas | default(1) }}"
namespace: default
serviceaccount: router
- selector: "{{ openshift_hosted_router_selector }}"
- images: "{{ openshift_hosted_router_image }}"
+ selector: "{{ openshift_hosted_router_selector | default(None) }}"
+ images: "{{ openshift_hosted_router_image | default(None) }}"
edits: "{{ openshift_hosted_router_edits }}"
stats_port: 1936
ports: