Enable multilib
This commit is contained in:
parent
220faf9f6b
commit
87d9d8c642
@ -39,3 +39,27 @@
|
|||||||
- name: update yay cache
|
- name: update yay cache
|
||||||
shell:
|
shell:
|
||||||
cmd: yay -Y --gendb
|
cmd: yay -Y --gendb
|
||||||
|
|
||||||
|
|
||||||
|
- name: "add multilib"
|
||||||
|
become: yes
|
||||||
|
lineinfile:
|
||||||
|
dest: "/etc/pacman.conf"
|
||||||
|
state: "present"
|
||||||
|
line: "[multilib]"
|
||||||
|
regexp: "^\\[multilib\\]"
|
||||||
|
insertafter: "^#\\[multilib\\]"
|
||||||
|
|
||||||
|
- name: "add multilib (cont)"
|
||||||
|
become: yes
|
||||||
|
lineinfile:
|
||||||
|
dest: "/etc/pacman.conf"
|
||||||
|
state: "present"
|
||||||
|
line: "Include = /etc/pacman.d/mirrorlist"
|
||||||
|
insertafter: "^\\[multilib\\]"
|
||||||
|
regexp: "Include = /etc/pacman.d/mirrorlist"
|
||||||
|
|
||||||
|
- name: Update cache
|
||||||
|
become: yes
|
||||||
|
community.general.pacman:
|
||||||
|
update_cache: true
|
||||||
|
Loading…
Reference in New Issue
Block a user