]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
testnode: Delete correct Stream repos 638/head
authorDavid Galloway <dgallowa@redhat.com>
Wed, 14 Jul 2021 15:08:29 +0000 (11:08 -0400)
committerDavid Galloway <dgallowa@redhat.com>
Wed, 14 Jul 2021 15:09:07 +0000 (11:09 -0400)
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 <dgallowa@redhat.com>
roles/testnode/tasks/yum/stream.yml

index 62c007e6953b0b0f4fbe5943000ab71d70de0883..19eabcfc57fda004f43002b0e099f4519371fe07 100644 (file)
@@ -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'