summaryrefslogtreecommitdiffstats
path: root/roles/common
diff options
context:
space:
mode:
authorØystein Bedin <oybed@users.noreply.github.com>2017-06-05 16:47:13 -0400
committerEric Sauer <etsauer@gmail.com>2017-06-05 15:47:13 -0500
commit469a88f6d7609df5ffaab812093e0c58baa3be29 (patch)
treec392910b74b91c00d9899d2cc5a1123da51b4608 /roles/common
parentb13ec6f0c46728897fdb1aa4fb8223e1e39737e3 (diff)
downloadopenshift-469a88f6d7609df5ffaab812093e0c58baa3be29.tar.gz
openshift-469a88f6d7609df5ffaab812093e0c58baa3be29.tar.bz2
openshift-469a88f6d7609df5ffaab812093e0c58baa3be29.tar.xz
openshift-469a88f6d7609df5ffaab812093e0c58baa3be29.zip
Conditionally set the openshift_master_default_subdomain to avoid overriding it unecessary (#47)
Diffstat (limited to 'roles/common')
-rw-r--r--roles/common/pre_tasks/pre_tasks.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/common/pre_tasks/pre_tasks.yml b/roles/common/pre_tasks/pre_tasks.yml
index 06a56605d..cc4e64a0f 100644
--- a/roles/common/pre_tasks/pre_tasks.yml
+++ b/roles/common/pre_tasks/pre_tasks.yml
@@ -34,3 +34,5 @@
set_fact:
openshift_master_default_subdomain: "{{ openshift_app_domain }}.{{ full_dns_domain }}"
delegate_to: localhost
+ when:
+ - openshift_master_default_subdomain is undefined