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:
dest: /etc/pacman.conf
regexp: '^#[multilib]'
line: 'multilib'
backrefs: yes
- name: Activate Multilib (Include)
lineinfile:
dest: /etc/pacman.conf
regexp: '^#Include = /etc/pacman.d/mirrorlist'
line: 'Include = /etc/pacman.d/mirrorlist'
regexp: '^#[multilib]\n#Include = /etc/pacman.d/mirrorlist'
line: 'multilib\nInclude = /etc/pacman.d/mirrorlist'
backrefs: yes
- name: Update pacman cache