--- - 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