diff --git a/tasks/dataverse-prereqs.yml b/tasks/dataverse-prereqs.yml index 211f1b6..fb68516 100644 --- a/tasks/dataverse-prereqs.yml +++ b/tasks/dataverse-prereqs.yml @@ -16,6 +16,14 @@ when: ansible_os_family == "RedHat" and ansible_distribution_major_version == "7" +- name: let's use the fastest mirror + lineinfile: + path: /etc/dnf/dnf.conf + line: 'fastestmirror=1' + insertafter: '^gpgcheck' + when: ansible_os_family == "RedHat" and + ansible_distribution_major_version == "8" + - name: makecache on RedHat yum: update_cache: yes