system/tasks/pacman.yml
2018-12-02 21:03:03 +01:00

12 lines
460 B
YAML

---
- name: Configure pacman color
replace: dest=/etc/pacman.conf regexp="^#(Color)" replace="\1"
become: yes
- name: Configure more pacman visuals
replace: dest=/etc/pacman.conf regexp="#(VerbosePkgLists)" replace="\1\nILoveCandy"
become: yes
- name: Configure pacman multilib repo
become: yes
replace: dest=/etc/pacman.conf regexp="^#(\[multilib\])\n^#(.*)$" replace="\1\n\2"
when: ansible_architecture == "x86_64"
notify: Update pacman repos