- include_vars: ../../../../../roles/openshift_node/vars/main.yml

- name: Update systemd units
  include: ../../../../../roles/openshift_node/tasks/systemd_units.yml openshift_version=v{{ g_new_version }}

- name: Verifying the correct version was configured
  shell: grep {{ verify_upgrade_version }} {{ item }}
  with_items:
    - /etc/sysconfig/openvswitch
    - /etc/sysconfig/{{ openshift.common.service_type }}*
  when: verify_upgrade_version is defined

- include_vars: ../../../../../roles/openshift_node/vars/main.yml

- name: Update systemd units
  include: ../../../../../roles/openshift_node/tasks/systemd_units.yml openshift_version={{ openshift_image_tag }}

- name: Verifying the correct version was configured
  shell: grep {{ verify_upgrade_version }} {{ item }}
  with_items:
    - /etc/sysconfig/openvswitch
    - /etc/sysconfig/{{ openshift.common.service_type }}*
  when: verify_upgrade_version is defined

Fix node/openvswitch containers not restarting after upgrade.
Fix node/openvswitch containers not restarting after upgrade.
