summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node/handlers/main.yml
blob: b24f6156969e6e80892e5b6a49d5d1f0301b9a45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
---
- name: restart openvswitch
  service: name=openvswitch state=restarted
  when: not (ovs_service_status_changed | default(false) | bool)
  notify:
  - restart openvswitch pause

- name: restart openvswitch pause
  pause: seconds=15
  when: openshift.common.is_containerized | bool

- name: restart node
  service: name={{ openshift.common.service_type }}-node state=restarted
  when: not (node_service_status_changed | default(false) | bool)