bootstrap - dnf boosts, 20 paralellism/disable fastestmirror
This commit is contained in:
parent
240882114a
commit
4fd64be73e
1 changed files with 9 additions and 2 deletions
|
@ -29,11 +29,18 @@
|
|||
state: installed
|
||||
when: (ansible_distribution in ["CentOS", "Red Hat Enterprise Linux", "RedHat", "Fedora"] and not is_atomic)
|
||||
|
||||
- name: enable fastestmirror (fedora - non-atomic)
|
||||
- name: disable fastestmirror (fedora - non-atomic)
|
||||
lineinfile:
|
||||
path: /etc/dnf/dnf.conf
|
||||
regexp: "^fastestmirror="
|
||||
line: "fastestmirror=True"
|
||||
line: "fastestmirror=False"
|
||||
when: ansible_distribution in ["Fedora"] and not is_atomic
|
||||
|
||||
- name: dnf - set max_parallel_downloads to 20 (fedora - non-atomic)
|
||||
lineinfile:
|
||||
path: /etc/dnf/dnf.conf
|
||||
regexp: "^max_parallel_downloads="
|
||||
line: "max_parallel_downloads=20"
|
||||
when: ansible_distribution in ["Fedora"] and not is_atomic
|
||||
|
||||
- name: remove update_etc_hosts from cloud.cfg
|
||||
|
|
Loading…
Reference in a new issue