summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/upgrades/containerized_node_upgrade.yml
blob: 32a3636aa68040c38d01ddb4b6ba9c80b2e2ff48 (plain)
1
2
3
4
5
6
7
8
9
10
11
- 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