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

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

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