]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
Remove stream.yml from testnode role; leave repo files be 731/head
authorDan Mick <dmick@redhat.com>
Mon, 24 Apr 2023 22:59:52 +0000 (15:59 -0700)
committerDan Mick <dmick@redhat.com>
Mon, 24 Apr 2023 22:59:52 +0000 (15:59 -0700)
Signed-off-by: Dan Mick <dmick@redhat.com>
roles/testnode/tasks/yum/stream.yml [deleted file]
roles/testnode/tasks/yum_systems.yml

diff --git a/roles/testnode/tasks/yum/stream.yml b/roles/testnode/tasks/yum/stream.yml
deleted file mode 100644 (file)
index c216c9e..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
----
-# In non-Stream CentOS versions, ceph-cm-ansible takes care of overwriting the Distro/ISO-provided repo files.
-# 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-*"
-
-- name: Include CentOS Stream specific variables
-  include_vars: "{{ item }}"
-  with_first_found:
-    - "{{ ansible_distribution | lower | regex_replace(' ', '_') }}_{{ ansible_distribution_major_version }}_stream.yml"
-    - empty.yml
index 2be3c5c0293a113980ce01d8528de63588ec79eb..09d13c87c7dbd666cb9559a08d1423ea8ba24e9b 100644 (file)
   tags:
     - repos
 
-- name: Perform CentOS Stream related tasks
-  import_tasks: yum/stream.yml
-  when: is_stream|default('false')|bool
-  tags:
-    - repos
-
 - name: Setup local repo files.
   import_tasks: yum/repos.yml
   tags: