diff options
author | Øystein Bedin <oybed@users.noreply.github.com> | 2017-02-20 12:56:21 -0500 |
---|---|---|
committer | Eric Sauer <etsauer@gmail.com> | 2017-02-20 12:56:21 -0500 |
commit | fdac6976d4b48c11b8de253ef8afa34af0da8cdb (patch) | |
tree | 07875e9cc9c0b5ec9c371bf3c7c0b5117b4a6ad3 /roles/common/pre_tasks | |
parent | 11f22f19ef48bdc05affd245b682531577243620 (diff) | |
download | openshift-fdac6976d4b48c11b8de253ef8afa34af0da8cdb.tar.gz openshift-fdac6976d4b48c11b8de253ef8afa34af0da8cdb.tar.bz2 openshift-fdac6976d4b48c11b8de253ef8afa34af0da8cdb.tar.xz openshift-fdac6976d4b48c11b8de253ef8afa34af0da8cdb.zip |
Ensure DNS configuration has wildcards set for infra nodes (#24)
* Ensure DNS configuration has wildcards set for infra nodes
* Updated to include all cluster hosts for DNS entries
Diffstat (limited to 'roles/common/pre_tasks')
-rw-r--r-- | roles/common/pre_tasks/pre_tasks.yml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/roles/common/pre_tasks/pre_tasks.yml b/roles/common/pre_tasks/pre_tasks.yml index 71a989b30..06a56605d 100644 --- a/roles/common/pre_tasks/pre_tasks.yml +++ b/roles/common/pre_tasks/pre_tasks.yml @@ -24,3 +24,13 @@ set_fact: full_dns_domain: "{{ (env_id|trim == '') | ternary(dns_domain, env_id + '.' + dns_domain) }}" delegate_to: localhost + +- name: Set the APP domain for OpenShift use + set_fact: + openshift_app_domain: "{{ openshift_app_domain | default('apps') }}" + delegate_to: localhost + +- name: Set the default app domain for routing purposes + set_fact: + openshift_master_default_subdomain: "{{ openshift_app_domain }}.{{ full_dns_domain }}" + delegate_to: localhost |