From cae4bc80afb0d59e8bb28f66be563c5e148c8af8 Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Wed, 30 Aug 2023 06:15:57 +0200 Subject: [PATCH] [PR #7172/f3a02b3e backport][stable-6] CI: make sure EXTERNALLY-MANAGED is absent on Arch Linux (#7174) CI: make sure EXTERNALLY-MANAGED is absent on Arch Linux (#7172) Make sure EXTERNALLY-MANAGED is absent on Arch. (cherry picked from commit f3a02b3efb7ea1f462a80a31cf81bcdcced564f1) Co-authored-by: Felix Fontein --- tests/integration/targets/setup_pkg_mgr/tasks/archlinux.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/integration/targets/setup_pkg_mgr/tasks/archlinux.yml b/tests/integration/targets/setup_pkg_mgr/tasks/archlinux.yml index fc75f84dfd..f471cc19a4 100644 --- a/tests/integration/targets/setup_pkg_mgr/tasks/archlinux.yml +++ b/tests/integration/targets/setup_pkg_mgr/tasks/archlinux.yml @@ -21,3 +21,8 @@ update_cache: true upgrade: true when: archlinux_upgrade_tag is changed + +- name: Remove EXTERNALLY-MANAGED file + file: + path: /usr/lib/python{{ ansible_python.version.major }}.{{ ansible_python.version.minor }}/EXTERNALLY-MANAGED + state: absent