reorganizing configuration

- static package configuration in `vars/pkgs`
  - loaded into the variable `pkgconfig` as part of `tasks/main.yml`
This commit is contained in:
Matthew Stobbs
2025-02-12 12:52:55 -07:00
parent 9250145116
commit a3df5215b8
23 changed files with 259 additions and 226 deletions

View File

@@ -5,12 +5,14 @@ use_local: true
prefer_method: system
packages: [] # list of packages to install
local_paths: # all localpaths are prefixed with the users $HOME directory
appimage: .local/appimage # keep appimages here
archive: .local/archive # extract archives here
cache: .cache # cache downloads here
cargo: .cargo # cargo install location
install: .local # installation prefix. Binaries are placed in `{{ install }}/bin`
user_home: "{{ lookup(ansible.builtin.env, 'HOME') }}"
local_paths: # all localpaths are prefixed with the users "{{ user_home }} directory
appimage: "{{ user_home }}/.local/appimage" # keep appimages here
archive: "{{ user_home }}/.local/archive" # extract archives here
cache: "{{ user_home }}/.cache" # cache downloads here
cargo: "{{ user_home }}/.cargo" # cargo install location
install: "{{ user_home }}/.local" # installation prefix. Binaries are placed in `{{ install }}/bin`
sys_paths: # if installing at a system level (default)
appimage: /opt/appimage # appimages are installed to {{ apimage_install_prefix }}/<name>/
@@ -19,152 +21,7 @@ sys_paths: # if installing at a system level (default)
cargo: /opt/cargo # cargo install location
install: /usr/local # executables get linked to {{ default_install_prefix }}/bin
pkgconfig:
alacritty:
version: 0.15.0
RedHat:
pkgs: []
build_deps:
- cmake
- freetype-devel
- fontconfig-devel
- libxcb-devel
- libxkbcommon-devel
- g++
Debian:
pkgs: []
build_deps:
- cmake
- pkg-config
- libfreetype6-dev
- libfontconfig1-dev
- libxcb-xfixes0-dev
- libxkbcommon-dev
- python3
Darwin:
pkgs:
- alacritty
git_repo: https://github.com/alacritty/alacritty.git
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:
build_deps:
Debian:
- build-essential
- libxcb1-dev
- libxcb-render0-dev
- libxcb-shape0-dev
- libxcb-xfixes0-dev
RedHat:
- libxcb
carapace:
pkgs:
Linux:
- carapace-bin
Darwin:
- carapace
clangd:
pkgs:
RedHat:
- clang-devel
Debian:
- clangd-12
Darwin:
- llvm
consul:
Linux: consul
Darwin: hashicorp/tap/consul
fd:
pkg:
Darwin:
- fd
RedHat:
- fd-find
Debian:
- fd-find
flatpak: {}
ghostty:
build_deps:
Debian:
- libgtk-4-dev
- libadwaita-1-dev
RedHat:
- gtk4-devel
- libadwaita-devel
git_repo: https://github.com/ghostty-org/ghostty
git:
pkgs:
Darwin:
- git
- git-delta
- git-extras
- git-lfs
Linux:
- git
- git-delta
- git-email
- git-lfs
go:
archmap:
arm64: arm64
aarch64: arm64
x86_64: amd64
extmap:
Darwin: pkg
Linux: tar.gz
sums:
1.23.6:
Darwin:
amd64: sha256:7fa387c228b4dd69b518a5d9425638fa5c0d86ec8943de373e3802aff2e5b12a
arm64: sha256:a167758a44e08af6eddf844ed86a6acdbff1d3957248913bbca7ee4ef6ff07d0
Linux:
amd64: sha256:9379441ea310de000f33a4dc767bd966e72ab2826270e038e78b2c53c2e7802d
arm64: sha256:561c780e8f4a8955d32bf72e46af0b5ee5e0debe1e4633df9a03781878219202
1.23.5:
Darwin:
amd64: sha256:d2b06bf0b8299e0187dfe2d8ad39bd3dd96a6d93fe4d1cfd42c7872452f4a0a2
arm64: sha256:f819ed94939e08a5016b9a607ec84ebbde6cb3fe59750c59d97aa300c3fd02df
Linux:
amd64: sha256:cbcad4a6482107c7c7926df1608106c189417163428200ce357695cc7e01d091
arm64: sha256:47c84d332123883653b70da2db7dd57d2a865921ba4724efcdf56b5da7021db0
hashicorp:
Linux:
RedHat:
repo: https://rpm.releases.hashicorp.com/RHEL/hashicorp.repo
Fedora:
repo: https://rpm.releases.hashicorp.com/fedora/hashicorp.repo
Debian:
repo: "deb [arch={{ ansible_architecture }} signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com {{ ansible_distribution_release }} main"
jellyfin: {}
kitty:
pkgs:
Darwin:
- kitty
Linux:
- kitty
- kitty-shell-integration
libreoffice:
flatpak:
- org.libreoffice.LibreOffice
Debian:
- libreoffice
RedHat:
- libreoffice
luals:
base_url: https://github.com/LuaLS/lua-language-server/releases/download
sysmap:
Darwin: darwin
Linux: linux
archmap:
aarch64: arm64
arm64: arm64
x86_64: x64
neovide:
git_repo: https://github.com/neovide/neovide.git
build_deps: