feat(packages): Create unified installation task
This commit is contained in:
parent
7fa1fd38a1
commit
55d752ee19
2 changed files with 81 additions and 14 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue