try imported version

This commit is contained in:
Bertrand Benjamin 2018-08-25 09:31:10 +02:00
parent d25e7747f9
commit 1c2484b430

View File

@ -1,10 +1,19 @@
---
- name: Activate Multilib
- name: "add multilib"
lineinfile:
dest: /etc/pacman.conf
regexp: '^#[multilib]\n#Include = /etc/pacman.d/mirrorlist'
line: 'multilib\nInclude = /etc/pacman.d/mirrorlist'
backrefs: yes
dest: "/etc/pacman.conf"
state: "present"
line: "[multilib]"
regexp: "^\\[multilib\\]"
insertafter: "^#\\[multilib\\]"
- name: "add multilib (cont)"
lineinfile:
dest: "/etc/pacman.conf"
state: "present"
line: "Include = /etc/pacman.d/mirrorlist"
insertafter: "^\\[multilib\\]"
regexp: "Include = /etc/pacman.d/mirrorlist"
- name: Update pacman cache
pacman: