summaryrefslogtreecommitdiffstats
path: root/playbooks/adhoc/openshift_hosted_logging_efk.yaml
blob: c08231dda934b7cddac21191f3fdf172866d4f94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
---
- hosts: masters[0]
  roles:
  - role: openshift_hosted_logging
    openshift_hosted_logging_cleanup: no

- name: Update master-config for publicLoggingURL
  hosts: masters:!masters[0]
  pre_tasks:
    - set_fact:
        logging_hostname: "{{ openshift_hosted_logging_hostname | default('kibana.' ~ (openshift_master_default_subdomain | default('router.default.svc.cluster.local', true))) }}"
  tasks:
    - include_role:
        name: openshift_hosted_logging
        tasks_from: update_master_config
      when: openshift_hosted_logging_deploy | default(false) | bool