summaryrefslogtreecommitdiffstats
path: root/playbooks/adhoc
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-01-30 14:44:43 -0500
committerGitHub <noreply@github.com>2017-01-30 14:44:43 -0500
commit3372da1e38a73a3f005e6263e7ccdb5aa858106a (patch)
tree1c3fe32b6b9f000c6312cef130c1b9db9df018e3 /playbooks/adhoc
parentdb3718ef7107aeb010ebfd9d1493e94c8b302556 (diff)
parentd5c8f481b6a1a23f95fa2c7c621cbbf2edf64b7a (diff)
downloadopenshift-3372da1e38a73a3f005e6263e7ccdb5aa858106a.tar.gz
openshift-3372da1e38a73a3f005e6263e7ccdb5aa858106a.tar.bz2
openshift-3372da1e38a73a3f005e6263e7ccdb5aa858106a.tar.xz
openshift-3372da1e38a73a3f005e6263e7ccdb5aa858106a.zip
Merge pull request #3214 from ewolinetz/logging_configure_loggingpublicurl
Updating openshift_logging role to add kibana public url to loggingPu…
Diffstat (limited to 'playbooks/adhoc')
-rw-r--r--playbooks/adhoc/openshift_hosted_logging_efk.yaml11
1 files changed, 11 insertions, 0 deletions
diff --git a/playbooks/adhoc/openshift_hosted_logging_efk.yaml b/playbooks/adhoc/openshift_hosted_logging_efk.yaml
index def1d24e0..c08231dda 100644
--- a/playbooks/adhoc/openshift_hosted_logging_efk.yaml
+++ b/playbooks/adhoc/openshift_hosted_logging_efk.yaml
@@ -3,3 +3,14 @@
roles:
- role: openshift_hosted_logging
openshift_hosted_logging_cleanup: no
+
+- name: Update master-config for publicLoggingURL
+ hosts: masters:!masters[0]
+ pre_tasks:
+ - set_fact:
+ logging_hostname: "{{ openshift_hosted_logging_hostname | default('kibana.' ~ (openshift_master_default_subdomain | default('router.default.svc.cluster.local', true))) }}"
+ tasks:
+ - include_role:
+ name: openshift_hosted_logging
+ tasks_from: update_master_config
+ when: openshift_hosted_logging_deploy | default(false) | bool