change layout for better management

- instead of just `syspkgs` and `srcpkgs` add more lists
  - `appimages`, `flatpkgs` and others as they come up
This commit is contained in:
Matthew Stobbs
2025-02-11 17:51:10 -07:00
parent 9ec814257f
commit 275f5df722
19 changed files with 295 additions and 224 deletions

View File

@@ -1,39 +1,33 @@
# vim: set filetype=yaml.ansible :
# variables used in ansible_role_package
---
assume_missing_is_syspkg: true
full_upgrade: false
install_state: present
default_config:
install_prefix: /usr/local
become: true
owner: root
group: root
default_install_prefix: /usr/local
packages: [] # list of packages to install
# install lists
brewtaps: []
cargopkgs: []
cargoversioned: []
caskpkgs: []
flatpkgs: []
flatpkg_repo:
# Package install lists
appimages: [] # appimages to install
cargopkgs: [] # rust packages from cargo
cargoversioned: [] # versioned rust packages from cargo
caskpkgs: [] # homebrew casks
flatpkgs: [] # flatpaks
gopkgs: [] # go applications
npmpkgs: [] # npm commands
pipxpkgs: [] # pipx packages
srcpkgs: [] # packages built from source
syspkgs: [] # system package manager packages
tappkgs: [] # homebrew tap packages
# Package source lists
brewtaps: [] # homebrew taps
fpremotes: # flatpak remotes
- name: flathub
url: https://dl.flathub.org/repo/flathub.flatpakrepo
gopkgs: []
npmpkgs: []
packages: []
pipxpkgs: []
srcpkgs: []
syspkgs: []
tappkgs: []
# pkgconfig, loaded from .yml files in vars
# and combined. Configuration can be changed
# when running the role by specifying
# pkgconfig.<pkgname> as a dict
# Static package configuration
# this shouldn't be changed by the user
pkgconfig:
alacritty:
deps:
build_deps:
RedHat:
- cmake
- freetype-devel
@@ -50,10 +44,15 @@ pkgconfig:
- libxkbcommon-dev
- python3
git_repo: https://github.com/alacritty/alacritty.git
bitwarden: {}
bitwarden:
flatpak:
name: com.bitwarden.desktop
remote: flathub
appimage:
name: bitwarden.appimage
url: https://vault.bitwarden.com/download/?app=desktop&platform=linux&variant=appimage
broot:
deps:
build_deps:
Debian:
- build-essential
- libxcb1-dev
@@ -89,7 +88,7 @@ pkgconfig:
- fd-find
flatpak: {}
ghostty:
deps:
build_deps:
Debian:
- libgtk-4-dev
- libadwaita-1-dev
@@ -166,7 +165,7 @@ pkgconfig:
x86_64: x64
neovide:
git_repo: https://github.com/neovide/neovide.git
deps:
build_deps:
RedHat:
- fontconfig-devel
- freetype-devel
@@ -338,7 +337,7 @@ pkgconfig:
Linux: nomad
Darwin: hashicorp/tap/nomad
nushell:
deps:
build_deps:
Darwin:
- openssl
- cmake
@@ -430,14 +429,14 @@ pkgconfig:
fedora:
release: 2-6
epel:
release: 2-3
release: 2-3
pkgs:
RedHat:
- zfs
Debian:
- zfs-dkms
- zfsutils-linux
deps:
build_deps:
RedHat:
- kernel-devel
- epel-release