Skip to content

Commit

Permalink
use fastest mirror on RH/Cent8
Browse files Browse the repository at this point in the history
  • Loading branch information
don.sizemore committed Jun 23, 2020
1 parent 143c7a5 commit cf239cf
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tasks/dataverse-prereqs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cf239cf

Please sign in to comment.