123456789101112131415161718192021222324 |
- ---
- - name: restart openvswitch
- systemd:
- name: openvswitch
- state: restarted
- when: (not skip_node_svc_handlers | default(False) | bool) and 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: (not skip_node_svc_handlers | default(False) | bool) and openshift.common.is_containerized | bool
- - name: restart node
- systemd:
- name: "{{ openshift.common.service_type }}-node"
- state: restarted
- when: (not skip_node_svc_handlers | default(False) | bool) and not (node_service_status_changed | default(false) | bool)
- - name: reload sysctl.conf
- command: /sbin/sysctl -p
- - name: reload systemd units
- command: systemctl daemon-reload
|