Activate Multilib in one line

This commit is contained in:
Bertrand Benjamin 2018-08-25 09:27:14 +02:00
parent da4a0ea05d
commit d25e7747f9

View File

@ -1,16 +1,9 @@
--- ---
- name: Activate Multilib (name) - name: Activate Multilib
lineinfile: lineinfile:
dest: /etc/pacman.conf dest: /etc/pacman.conf
regexp: '^#[multilib]' regexp: '^#[multilib]\n#Include = /etc/pacman.d/mirrorlist'
line: 'multilib' line: 'multilib\nInclude = /etc/pacman.d/mirrorlist'
backrefs: yes
- name: Activate Multilib (Include)
lineinfile:
dest: /etc/pacman.conf
regexp: '^#Include = /etc/pacman.d/mirrorlist'
line: 'Include = /etc/pacman.d/mirrorlist'
backrefs: yes backrefs: yes
- name: Update pacman cache - name: Update pacman cache