diff --git a/deployment/podman/podman-baremetal-ansible.yaml b/deployment/podman/podman-baremetal-ansible.yaml index 6e166efd1f..119df26dc8 100644 --- a/deployment/podman/podman-baremetal-ansible.yaml +++ b/deployment/podman/podman-baremetal-ansible.yaml @@ -60,6 +60,14 @@ outputs: package: name: podman state: latest + - name: Remove default cni config for cni0 + copy: + dest: /etc/cni/net.d/87-podman-bridge.conflist + content: '' + force: yes + - name: Delete cni0 interface if exists + command: ip link delete cni0 + ignore_errors: True - name: configure insecure registries /etc/containers/registries.conf ini_file: path: /etc/containers/registries.conf @@ -72,3 +80,11 @@ outputs: - name: Install podman packages on upgrade if missing when: step|int == 3 package: name=podman state=latest + - name: Remove default cni config for cni0 + copy: + dest: /etc/cni/net.d/87-podman-bridge.conflist + content: '' + force: yes + - name: Delete cni0 interface if exists + command: ip link delete cni0 + ignore_errors: True