summaryrefslogtreecommitdiffstats
path: root/playbooks/common
diff options
context:
space:
mode:
authorJeff Cantrill <jcantril@redhat.com>2017-03-10 15:45:50 -0500
committerJeff Cantrill <jcantril@redhat.com>2017-03-10 15:45:50 -0500
commita6c82a1f285d8dca9ba50ab1b847ef7007e7d3b3 (patch)
tree23be3d26760df15bb87c35ba3b06107791bc4d74 /playbooks/common
parent3c586308f6abe4451b022833291068900fe102fb (diff)
downloadopenshift-a6c82a1f285d8dca9ba50ab1b847ef7007e7d3b3.tar.gz
openshift-a6c82a1f285d8dca9ba50ab1b847ef7007e7d3b3.tar.bz2
openshift-a6c82a1f285d8dca9ba50ab1b847ef7007e7d3b3.tar.xz
openshift-a6c82a1f285d8dca9ba50ab1b847ef7007e7d3b3.zip
update all the masters
Diffstat (limited to 'playbooks/common')
-rw-r--r--playbooks/common/openshift-cluster/openshift_hosted.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/playbooks/common/openshift-cluster/openshift_hosted.yml b/playbooks/common/openshift-cluster/openshift_hosted.yml
index 06cda36a5..5db71b857 100644
--- a/playbooks/common/openshift-cluster/openshift_hosted.yml
+++ b/playbooks/common/openshift-cluster/openshift_hosted.yml
@@ -53,6 +53,8 @@
pre_tasks:
- set_fact:
openshift_logging_kibana_hostname: "{{ openshift_hosted_logging_hostname | default('kibana.' ~ (openshift_master_default_subdomain | default('router.default.svc.cluster.local', true))) }}"
+ - set_fact:
+ openshift_metrics_hawkular_hostname: "{{ g_metrics_hostname | default('hawkular-metrics.' ~ (openshift_master_default_subdomain | default('router.default.svc.cluster.local', true))) }}"
tasks:
- block:
@@ -60,3 +62,9 @@
name: openshift_logging
tasks_from: update_master_config
when: openshift_hosted_logging_deploy | default(false) | bool
+
+ - block:
+ - include_role:
+ name: openshift_metrics
+ tasks_from: update_master_config
+ when: openshift_hosted_metrics_deploy | default(false) | bool