feat(packages): Create unified installation task

This commit is contained in:
Marty Oehme 2025-02-22 17:11:58 +01:00
parent 7fa1fd38a1
commit 55d752ee19
Signed by: Marty
GPG key ID: 4E535BC19C61886E
2 changed files with 81 additions and 14 deletions

View file

@ -1,5 +1,5 @@
- name: Install void customizations
hosts: void
- name: Install basic custom void packages
hosts: interface
become: true
tags: interface
vars:
@ -12,24 +12,12 @@
state: present
notify: installed-keyd
- name: Install river wm
community.general.xbps:
name:
- river
- waybar
state: present
- name: Install many fonts
community.general.xbps:
state: present
name: "{{ packages_fonts }}"
notify: installed-fonts
- name: Install base custom stuff
community.general.xbps:
name: "{{ packages_de }}"
state: present
handlers:
- name: Activate keyd service
ansible.builtin.file:
@ -47,3 +35,16 @@
- --force
- fontconfig
listen: installed-fonts
- name: Install basic custom void packages
hosts: chroot
become: true
tags:
- packages
vars:
ansible_chroot_exe: arch-chroot
tasks:
- name: Install a bunch of base custom stuff
community.general.xbps:
name: "{{ lookup('community.general.merge_variables', '^packages_.*') }}"
state: present