From 9c9d00d1d16ebe2598186007fabcba13b001e951 Mon Sep 17 00:00:00 2001 From: David Galloway Date: Wed, 14 Jul 2021 11:08:29 -0400 Subject: [PATCH] testnode: Delete correct Stream repos This was taking AppStream repos with it on non-Stream distros. I don't think it was causing issues but it was deleting the wrong files nonetheless. Signed-off-by: David Galloway --- roles/testnode/tasks/yum/stream.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/testnode/tasks/yum/stream.yml b/roles/testnode/tasks/yum/stream.yml index 62c007e6..19eabcfc 100644 --- a/roles/testnode/tasks/yum/stream.yml +++ b/roles/testnode/tasks/yum/stream.yml @@ -3,7 +3,7 @@ # Since we convert from CentOS 8.X to CentOS Stream, we have to delete the Stream repo files that the process creates. # We just don't want to rely on CentOS' infra to provide our mirror lists. It has bitten us in the past. - name: Clean up Stream distro-provided repos - shell: "rm -rvf /etc/yum.repos.d/*Stream*" + shell: "rm -rvf /etc/yum.repos.d/*-Stream-*" when: - ansible_lsb.description is defined - '"Stream" in ansible_lsb.description' -- 2.47.3