summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorewolinetz <ewolinet@redhat.com>2017-01-30 12:50:57 -0600
committerewolinetz <ewolinet@redhat.com>2017-01-30 12:58:09 -0600
commitd5c8f481b6a1a23f95fa2c7c621cbbf2edf64b7a (patch)
treeb6c85ace5953f8ca99a048b5938b3e2c80313d7f /roles
parentc9afeb9e86ff5389d68e2fe25b9e6baaf56b72c6 (diff)
downloadopenshift-d5c8f481b6a1a23f95fa2c7c621cbbf2edf64b7a.tar.gz
openshift-d5c8f481b6a1a23f95fa2c7c621cbbf2edf64b7a.tar.bz2
openshift-d5c8f481b6a1a23f95fa2c7c621cbbf2edf64b7a.tar.xz
openshift-d5c8f481b6a1a23f95fa2c7c621cbbf2edf64b7a.zip
Updating openshift_hosted_logging to update master-configs with publicLoggingURL
Diffstat (limited to 'roles')
-rw-r--r--roles/openshift_hosted_logging/tasks/deploy_logging.yaml7
-rw-r--r--roles/openshift_hosted_logging/tasks/update_master_config.yaml7
2 files changed, 8 insertions, 6 deletions
diff --git a/roles/openshift_hosted_logging/tasks/deploy_logging.yaml b/roles/openshift_hosted_logging/tasks/deploy_logging.yaml
index c7f055b31..afd82766f 100644
--- a/roles/openshift_hosted_logging/tasks/deploy_logging.yaml
+++ b/roles/openshift_hosted_logging/tasks/deploy_logging.yaml
@@ -165,12 +165,7 @@
retries: 20
delay: 15
-- 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
+- include: update_master_config.yaml
- debug:
msg: "Logging components deployed. Note persistent volume for elasticsearch must be setup manually"
diff --git a/roles/openshift_hosted_logging/tasks/update_master_config.yaml b/roles/openshift_hosted_logging/tasks/update_master_config.yaml
new file mode 100644
index 000000000..1122e059c
--- /dev/null
+++ b/roles/openshift_hosted_logging/tasks/update_master_config.yaml
@@ -0,0 +1,7 @@
+---
+- 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://{{ logging_hostname }}"
+ notify: restart master