Browse Source

Only purge docker when using podman

If you define both the docker and podman services, during the upgrade
the podman service nukes docker even if we have container_cli set to
docker. This change skips docker purge if we're configured to use
docker.

Change-Id: Ib6db467f292d61299ecd9b0dff6c334028b80181
Related-Bug: #1901209
changes/75/759575/1
Alex Schultz 3 months ago
parent
commit
8023c6dc20
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      deployment/podman/podman-baremetal-ansible.yaml

+ 3
- 1
deployment/podman/podman-baremetal-ansible.yaml View File

@ -178,7 +178,9 @@ outputs:
block: *install_and_configure_podman
post_upgrade_tasks:
- name: Purge everything about Docker on the host
when: step|int == 3
when:
- step|int == 3
- container_cli == 'podman'
block:
- name: Check if docker has some data
stat:


Loading…
Cancel
Save