packages, fix the ParallelDownloads option for pacman.
This commit is contained in:
1 parent
d24381ad1e
commit
be4d8cd4f6
1 file changed
+5
-3
@@ -41,13 +41,13 @@
|
|||||||
ansible.builtin.lineinfile:
|
ansible.builtin.lineinfile:
|
||||||
path: "/etc/pacman.conf"
|
path: "/etc/pacman.conf"
|
||||||
regexp: '{{ item.key }}'
|
regexp: '{{ item.key }}'
|
||||||
line: '{{ item.value }} # MANAGED BY ANSIBLE'
|
line: '{{ item.value }}'
|
||||||
state: present
|
state: present
|
||||||
create: true
|
create: true
|
||||||
backup: true
|
backup: true
|
||||||
mode: "0644"
|
mode: "0644"
|
||||||
loop:
|
loop:
|
||||||
- { "key": '^[\#]?ParallelDownloads', "value": 'ParallelDownloads 3'}
|
- { "key": '^[\#]?ParallelDownloads', "value": 'ParallelDownloads = 3'}
|
||||||
|
|
||||||
# TBD / TODO: Do the mirrorlist files and distros based on facts in case ever using Arch, Manjaro, etc.
|
# TBD / TODO: Do the mirrorlist files and distros based on facts in case ever using Arch, Manjaro, etc.
|
||||||
# Same with the blocklist for sites like Berkeley which rate limit VPNs.
|
# Same with the blocklist for sites like Berkeley which rate limit VPNs.
|
||||||
@@ -61,7 +61,9 @@
|
|||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: General | Software | Packages | pacman | Artix | rate-mirrors | Update Lists
|
- name: General | Software | Packages | pacman | Artix | rate-mirrors | Update Lists
|
||||||
ansible.builtin.shell: "{{ item }}"
|
ansible.builtin.shell: |
|
||||||
|
set -o pipefail
|
||||||
|
"{{ item }}"
|
||||||
register: shell_check
|
register: shell_check
|
||||||
changed_when: shell_check.rc == 0
|
changed_when: shell_check.rc == 0
|
||||||
loop:
|
loop:
|
||||||
|
|||||||
Reference in new issue
Block a user