aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/roles/set_package_installer_proxy/tasks/yum_disable_fastestmirrors.yml
blob: 42388bcd94827184bf38b4da29ede1a3159f7d20 (plain)
1
2
3
4
5
6
7
8
9
10
11
---
  - name: yum disable fastest mirrors
    lineinfile:
      dest: "/etc/yum/pluginconf.d/fastestmirror.conf"
      regexp: "^enabled=1"
      line: "enabled=0"
    ignore_errors: true

  - name: yum clean all
    command:  yum clean all