From 9ed378a12afae4f30550ca91b21392077d094f53 Mon Sep 17 00:00:00 2001 From: ewolinetz Date: Fri, 27 Jan 2017 14:39:38 -0600 Subject: Updating openshift_logging role to add kibana public url to loggingPublicURL in master-config --- roles/openshift_logging/tasks/install_logging.yaml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'roles/openshift_logging/tasks') 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 }}" -- cgit v1.2.3