Files
ansible_role_package/vars/main.yml
Matthew Stobbs 30313d2858 cleanup
2026-02-25 17:10:20 -07:00

142 lines
3.7 KiB
YAML

# vim: set filetype=yaml.ansible :
# variables used in ansible_role_package
---
# General configuration
clean_install: false
clean_cache: false
build_jobs: "{{ ansible_processor_nproc | int }}"
install_become: true
install_become_user: root
install_method: system
install_prefix: /usr/local
install_prefix_mode: '0755'
install_prefix_owner: root
install_prefix_group: root
extra_ldd_paths: []
packages_extra: []
# flatpak default configuration
flathub_remote:
name: flathub
url: https://dl.flathub.org/repo/flathub.flatpakrepo
flatpak_default_remote: flathub
flatpak_method: system
flatpak_remotes: "{{ [flathub_remote] }}"
# empty lists that must be defined
pkg_appimage: [] # appimages to install
pkg_archive: [] # packages installed via prebuilt archive
pkg_cargo: [] # rust packages from cargo using `cargo install`
pkg_cargo_build: [] # rust packages using `cargo build` before install
pkg_clean: [] # list of files to remove before running archive and source installations
pkg_flatpak: [] # flatpak packages to install
pkg_go: [] # go applications
pkg_npm: [] # npm commands
pkg_pipx: [] # pipx packages
pkg_sh: [] # use shell commands to install a package
pkg_snap: [] # snpacraft.io packages
pkg_src: [] # packages built from source
pkg_sys: [] # system package manager packages
pkg_sys_pip: [] # system pip packages
pkg_zig: [] # zig packages
__configured: {} # dict of configured packages
__add_to_path: [] # list of paths that should be in PATH
__var_to_env: {} # dict of variables to add to your env
# Per package variables
# {{{ air
air_version: latest
air_install_url: github.com/air-verse/air
# }}}
# {{{ alacritty
alacritty_version: v0.16.1
alacritty_git_repo: https://github.com/alacritty/alacritty
alacritty_pkgname: alacritty
alacritty_cargo_build_flags:
- --release
# }}}
# {{{ ansible
ansible_install_methods:
- system
- source
ansible_pkgname:
RedHat: ansible
Debian: ansible
Alpine: ansible
Archlinux: ansible
ansible_pip_pkgname: ansible
# }}}
# {{{ ansible_lint
ansible_lint_version: latest
ansible_lint_install_methods:
- system
- source
ansible_lint_pkgname:
RedHat: ansible-lint
Debian: ansible-lint
Archlinux: ansible-lint
Alpine: ansible-lint
FreeBSD: py311-ansible-lint
pipx: ansible_lint
# }}}
# {{{ ansible_ls
ansible_ls_version: latest
ansible_npm_pkg:
name: '@ansible/ansible-language-server'
global: true
ansible_ls_pkg_deps:
- pkgs/npm.yml
# }}}
# {{{ bashls
bashls_install_methods:
- source
bashls_npm_pkgname: bash-language-server
# }}}
# {{{ go
go_archive_version: 1.25.6
go_archive_archmap:
arm64: arm64
aarch64: arm64
x86_64: amd64
go_archive_url_base: https://go.dev/dl
go_archive_sums:
1.25.6:
Darwin:
amd64: sha256:e2b5b237f5c262931b8e280ac4b8363f156e19bfad5270c099998932819670b7
arm64: sha256:984521ae978a5377c7d782fd2dd953291840d7d3d0bd95781a1f32f16d94a006
Linux:
amd64: sha256:f022b6aad78e362bcba9b0b94d09ad58c5a70c6ba3b7582905fababf5fe0181a
arm64: sha256:738ef87d79c34272424ccdf83302b7b0300b8b096ed443896089306117943dd5
FreeBSD:
amd64: sha256:61e1d50e332359474ff6dcf4bc0bd34ba2d2cf4ef649593a5faa527f0ab84e2b
arm64: sha256:648484146702dd58db0e2c3d15bda3560340d149ed574936e63285a823116b77
go_profile_path:
Linux: /etc/profile.d
FreeBSD: /etc/profile.d
go_pkgname:
RedHat: go
Debian: go
Darwin: go
FreeBSD:
default: go
1.25: go125
1.24: go124
1.23: go123
1.22: go122
# }}}
# {{{ nerdfonts
nerdfonts_install_list:
- JetBrainsMono
- FiraCode
- FiraMono
- GoMono
- Hack
- Symbols
nerdfonts_base_url: https://github.com/ryanoasis/nerd-fonts/releases/latest/download
nerdfonts_install_path: share/fonts
# }}}
# {{{ zsh
zsh_base_url: git://git.code.sf.net/p/zsh/code
zsh_version: zsh-5.9
# }}}