system/tasks/pacman.yml

12 lines
460 B
YAML
Raw Normal View History

2018-12-02 20:03:03 +00:00
---
- 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