Enable multilib

This commit is contained in:
Przemek Grondek 2023-10-25 23:32:58 +02:00
parent 220faf9f6b
commit 87d9d8c642

View File

@ -39,3 +39,27 @@
- name: update yay cache
shell:
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