summaryrefslogtreecommitdiffstats
path: root/roles/openshift_logging
diff options
context:
space:
mode:
authorewolinetz <ewolinet@redhat.com>2017-01-27 14:39:38 -0600
committerewolinetz <ewolinet@redhat.com>2017-01-27 14:39:38 -0600
commit9ed378a12afae4f30550ca91b21392077d094f53 (patch)
tree740daa37cc7fd0997c71f36c141234d6a2d60ceb /roles/openshift_logging
parentad3f73df79e4f4766477276b2f06405c569c9656 (diff)
downloadopenshift-9ed378a12afae4f30550ca91b21392077d094f53.tar.gz
openshift-9ed378a12afae4f30550ca91b21392077d094f53.tar.bz2
openshift-9ed378a12afae4f30550ca91b21392077d094f53.tar.xz
openshift-9ed378a12afae4f30550ca91b21392077d094f53.zip
Updating openshift_logging role to add kibana public url to loggingPublicURL in master-config
Diffstat (limited to 'roles/openshift_logging')
-rw-r--r--roles/openshift_logging/tasks/install_logging.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/roles/openshift_logging/tasks/install_logging.yaml b/roles/openshift_logging/tasks/install_logging.yaml
index a9699adb8..f0bc709df 100644
--- a/roles/openshift_logging/tasks/install_logging.yaml
+++ b/roles/openshift_logging/tasks/install_logging.yaml
@@ -44,6 +44,13 @@
loop_var: file
when: not ansible_check_mode
+- name: Adding Kibana route information to loggingPublicURL
+ modify_yaml:
+ dest: "{{ openshift.common.config_base }}/master/master-config.yaml"
+ yaml_key: assetConfig.loggingPublicURL
+ yaml_value: "https://{{ openshift_logging_kibana_hostname }}"
+ notify: restart master
+
- name: Printing out objects to create
debug: msg={{file.content | b64decode }}
with_items: "{{ object_defs.results }}"