diff options
author | Brenton Leanhardt <bleanhar@redhat.com> | 2016-03-29 15:00:54 -0400 |
---|---|---|
committer | Brenton Leanhardt <bleanhar@redhat.com> | 2016-03-29 15:00:54 -0400 |
commit | 7b42f91f8637f6c3ce49f357bea75a3e6528b1ba (patch) | |
tree | 9d2e2cc1605034debe7cf917af5e74f5838427f8 /playbooks/common/openshift-cluster/upgrades/v3_1_to_v3_2/containerized_upgrade.yml | |
parent | 6d74968b30f3dff2046ab50330c2de55ac103a8b (diff) | |
parent | e6e5c64508ff876973cc5db768012ec836aea31e (diff) | |
download | openshift-7b42f91f8637f6c3ce49f357bea75a3e6528b1ba.tar.gz openshift-7b42f91f8637f6c3ce49f357bea75a3e6528b1ba.tar.bz2 openshift-7b42f91f8637f6c3ce49f357bea75a3e6528b1ba.tar.xz openshift-7b42f91f8637f6c3ce49f357bea75a3e6528b1ba.zip |
Merge pull request #1666 from brenton/systemd1
Reusing the systemd templates for the upgrade
Diffstat (limited to 'playbooks/common/openshift-cluster/upgrades/v3_1_to_v3_2/containerized_upgrade.yml')
-rw-r--r-- | playbooks/common/openshift-cluster/upgrades/v3_1_to_v3_2/containerized_upgrade.yml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/playbooks/common/openshift-cluster/upgrades/v3_1_to_v3_2/containerized_upgrade.yml b/playbooks/common/openshift-cluster/upgrades/v3_1_to_v3_2/containerized_upgrade.yml index 696994688..cc587bfa1 100644 --- a/playbooks/common/openshift-cluster/upgrades/v3_1_to_v3_2/containerized_upgrade.yml +++ b/playbooks/common/openshift-cluster/upgrades/v3_1_to_v3_2/containerized_upgrade.yml @@ -1,8 +1,10 @@ -- name: Update system_units - script: ../files/ensure_system_units_have_version.sh {{ openshift.common.service_type }} {{ openshift.common.deployment_type }} {{ g_new_version }} +- include_vars: ../../../../../roles/openshift_node/vars/main.yml + +- name: Update systemd units + include: ../../../../../roles/openshift_node/tasks/systemd_units.yml openshift_version=g_aos_versions.avail_version - name: Verifying the correct version was configured - command: grep {{ verify_upgrade_version }} {{ item }} + shell: grep {{ verify_upgrade_version }} {{ item }} with_items: - /etc/sysconfig/openvswitch - /etc/sysconfig/{{ openshift.common.service_type }}* |