summaryrefslogtreecommitdiffstats
path: root/roles/openshift_logging
diff options
context:
space:
mode:
authorewolinetz <ewolinet@redhat.com>2017-03-15 12:14:24 -0500
committerewolinetz <ewolinet@redhat.com>2017-03-15 12:29:33 -0500
commitd2f46d8494b18a7f734e42187b2f264616ee16ba (patch)
tree73fb0b86e0130db93aeaa530fedb3d9a52e0346f /roles/openshift_logging
parent6362a2cc4e8dfa902f4e04c9b564d3933fbb755e (diff)
downloadopenshift-d2f46d8494b18a7f734e42187b2f264616ee16ba.tar.gz
openshift-d2f46d8494b18a7f734e42187b2f264616ee16ba.tar.bz2
openshift-d2f46d8494b18a7f734e42187b2f264616ee16ba.tar.xz
openshift-d2f46d8494b18a7f734e42187b2f264616ee16ba.zip
Removing dependency on master facts for master_public_url default
Diffstat (limited to 'roles/openshift_logging')
-rw-r--r--roles/openshift_logging/defaults/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_logging/defaults/main.yml b/roles/openshift_logging/defaults/main.yml
index ad9c1ce42..34d980ba9 100644
--- a/roles/openshift_logging/defaults/main.yml
+++ b/roles/openshift_logging/defaults/main.yml
@@ -3,7 +3,7 @@ openshift_logging_image_prefix: "{{ openshift_hosted_logging_deployer_prefix | d
openshift_logging_image_version: "{{ openshift_hosted_logging_deployer_version | default('latest') }}"
openshift_logging_use_ops: "{{ openshift_hosted_logging_enable_ops_cluster | default('false') | bool }}"
openshift_logging_master_url: "https://kubernetes.default.svc.{{ openshift.common.dns_domain }}"
-openshift_logging_master_public_url: "{{ openshift_hosted_logging_master_public_url | default('https://' + openshift.common.public_hostname + ':' + openshift.master.api_port) }}"
+openshift_logging_master_public_url: "{{ openshift_hosted_logging_master_public_url | default('https://' + openshift.common.public_hostname + ':' ~ (openshift_master_api_port | default('8443', true))) }}"
openshift_logging_namespace: logging
openshift_logging_install_logging: True
openshift_logging_image_pull_secret: "{{ openshift_hosted_logging_image_pull_secret | default('') }}"