aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/rate_mirrors/tasks/main.yml
blob: 4d72a414a30ae11c2a5f9573ca50700f58fcbc48 (plain) (blame)
1
2
3
4
5
6
7
8
- name: Rate pacman mirrors
  become: true
  ansible.builtin.shell: |
    . /etc/os-release && rate-mirrors \
        --allow-root \
        --disable-comments \
        --save /etc/pacman.d/mirrorlist \
        "$ID"