Files
ansible_role_package/vars/main.yml
Matthew Stobbs d1d556d425 modified make, fixed packages and vars
- the make helper now has distinct build stages
  - configure: is now defined in pkg.targets.configure
  - build: is now defined in pkg.targets.build
  - install: is now defined in pkg.targets.install
  - added pre-install: which is a list of targets that are looped over
before install
  - added post-instal: which is a list of targets that are looped over
after install

- removed major package level variables from vars/main.yml
  - moving those variables into actual package level variables as
defaults
  - if the values are defined they will be used instead of defaults
2026-03-19 13:39:26 -06:00

75 lines
2.1 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_make: [] # use gnu make to build/install
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
# system level variables that could change for each system
path_profile:
Linux: /etc/profile.d
FreeBSD: /etc/profile.d
# Per package variables
# neovim {{{
neovim_version: master
neovim_build_type: Release
# }}}
# {{{ 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
# }}}
# rust {{{
rust_pkgname: rust
# }}}
# {{{ zsh
zsh_base_url: git://git.code.sf.net/p/zsh/code
zsh_version: zsh-5.9
# }}}