Enable multilib repo

This commit is contained in:
exu 2024-10-10 19:21:52 +02:00
parent 1f54028b95
commit 1b4596e506

View File

@ -1,11 +1,30 @@
--- ---
- name: Enable multilib repo
ansible.builtin.blockinfile:
path: /etc/pacman.conf
prepend_newline: true
block: |
[multilib]
Include = /etc/pacman.d/mirrorlist
- name: Update packages - name: Update packages
community.general.pacman: community.general.pacman:
update_cache: true update_cache: true
upgrade: true upgrade: true
become: true become: true
- name: Install official packages - name: Install priority packages
community.general.pacman:
state: present
# select the lines and use 'M-x sort-lines'
name: "{{ item }}"
loop:
- pipewire # audio
- pipewire-alsa # audio
- pipewire-jack # audio
- pipewire-pulse # audio
- name: Install other packages
community.general.pacman: community.general.pacman:
state: present state: present
# select the lines and use 'M-x sort-lines' # select the lines and use 'M-x sort-lines'
@ -100,10 +119,6 @@
- pandoc - pandoc
- php # code - php # code
- piper # mouse - piper # mouse
- pipewire # audio
- pipewire-alsa # audio
- pipewire-jack # audio
- pipewire-pulse # audio
- pkgstats - pkgstats
- podman # containers - podman # containers
- power-profiles-daemon # power management - power-profiles-daemon # power management