Use RHEL nameing for yum repo file

This commit is contained in:
Sandwich 2024-11-12 14:14:09 +01:00
parent 9f56328890
commit 2d63ca9c5a

View File

@ -94,7 +94,7 @@
- name: Copy RHEL repo file into chroot environment - name: Copy RHEL repo file into chroot environment
ansible.builtin.copy: ansible.builtin.copy:
src: /etc/yum.repos.d/{{ os | lower }}.repo src: /etc/yum.repos.d/{{ os | lower }}.repo
dest: /mnt/etc/yum.repos.d/{{ os | lower }}.repo dest: /mnt/etc/yum.repos.d/redhat.repo
mode: '0644' mode: '0644'
remote_src: true remote_src: true