summaryrefslogtreecommitdiffstats
path: root/roles/openshift_logging_elasticsearch/handlers/main.yml
blob: fa56897d0e1c7257a11216585c50f4d879d65b4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
---
- name: "Restarting logging-{{ _cluster_component }} cluster"
  listen: "restart elasticsearch"
  include_tasks: restart_cluster.yml
  with_items: "{{ _restart_logging_components }}"
  loop_control:
    loop_var: _cluster_component
  when: not logging_elasticsearch_rollout_override | bool

## Stop this from running more than once
- set_fact:
    logging_elasticsearch_rollout_override: True
  listen: "restart elasticsearch"