Enable multilib repository

This commit is contained in:
exu 2024-10-06 17:51:36 +02:00
parent fde6533c4e
commit 7a291faf28

View File

@ -2,6 +2,18 @@
- hosts: localhost
become: yes
tasks:
- name: Enable multilib repository
ansible.builtin.lineinfile:
path: /etc/pacman.conf
search_string: "#[multilib]"
line: "[multilib]"
- name: Enable multilib repository (2)
ansible.builtin.lineinfile:
path: /etc/pacman.conf
search_string: "#Include = /etc/pacman.d/mirrorlist"
line: Include = /etc/pacman.d/mirrorlist
- name: Install official packages
community.general.pacman:
state: latest