summaryrefslogtreecommitdiffstats
path: root/roles/openshift_metrics/tasks/uninstall_metrics.yaml
diff options
context:
space:
mode:
authorSamuel Padgett <spadgett@redhat.com>2017-11-15 13:12:12 -0500
committerSamuel Padgett <spadgett@redhat.com>2018-01-05 15:36:39 -0500
commit296ee5ee346c843eb69786e1ab997e72870839ff (patch)
tree4ee6e9122b6d438e287b7f74ea33c894f62d3ba6 /roles/openshift_metrics/tasks/uninstall_metrics.yaml
parentcc3a0b463c9903af6664d0a978bae530c486d991 (diff)
downloadopenshift-296ee5ee346c843eb69786e1ab997e72870839ff.tar.gz
openshift-296ee5ee346c843eb69786e1ab997e72870839ff.tar.bz2
openshift-296ee5ee346c843eb69786e1ab997e72870839ff.tar.xz
openshift-296ee5ee346c843eb69786e1ab997e72870839ff.zip
Install web console server
Diffstat (limited to 'roles/openshift_metrics/tasks/uninstall_metrics.yaml')
-rw-r--r--roles/openshift_metrics/tasks/uninstall_metrics.yaml11
1 files changed, 11 insertions, 0 deletions
diff --git a/roles/openshift_metrics/tasks/uninstall_metrics.yaml b/roles/openshift_metrics/tasks/uninstall_metrics.yaml
index 0ab0eec4b..610c7b4e5 100644
--- a/roles/openshift_metrics/tasks/uninstall_metrics.yaml
+++ b/roles/openshift_metrics/tasks/uninstall_metrics.yaml
@@ -18,3 +18,14 @@
clusterrolebinding/heapster-cluster-reader
clusterrolebinding/hawkular-metrics
changed_when: delete_metrics.stdout != 'No resources found'
+
+# Update asset config in openshift-web-console namespace
+- name: Remove metrics route information from web console asset config
+ include_role:
+ name: openshift_web_console
+ tasks_from: update_asset_config.yml
+ vars:
+ asset_config_edits:
+ - key: metricsPublicURL
+ value: ""
+ when: openshift_web_console_install | default(true) | bool