Skip to content

Commit

Permalink
update all the masters
Browse files Browse the repository at this point in the history
  • Loading branch information
jcantrill committed Mar 10, 2017
1 parent 3c58630 commit a6c82a1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions playbooks/common/openshift-cluster/openshift_hosted.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,18 @@
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:
- include_role:
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

0 comments on commit a6c82a1

Please sign in to comment.