Modifying default variables and config

Renamed variables for defaults:
- flatpak_method -> default_flatpak_method: system
- defaults.paths.prefix -> default_install_prefix: /usr/local
New variables:
- default_install_method: package
This commit is contained in:
Matthew Stobbs
2026-01-24 19:52:56 -07:00
parent fe364e2b6d
commit e021d5ebac
15 changed files with 85 additions and 53 deletions

View File

@@ -1,24 +1,22 @@
# vim: set filetype=yaml.ansible :
# variables used in ansible_role_package
---
default_install_method: package
default_flatpak_method: system # possible values are 'system' and 'user'
default_install_method: package # possible values are 'package', 'source', 'appimage'
default_install_prefix: /usr/local
debug: false
use_local: false
prefer_method: src
packages: [] # list of packages to install
extra_packages: [] # list of extra packages to add to pkg_sys
go_do_update: true
defaults:
path:
prefix: "/usr/local"
suffix:
appimage: "/appimage" # keep appimages here
archive: "/archive" # extract archives here
bin: "/bin" # installation prefix. Binaries are placed in `{{ install }}/bin`
cargo: "/cargo" # cargo install location
go: "/go" # GOROOT
pipx: "/pipx" # where pipx environments are installed (venvs). They are symlinked to `bin`
paths:
suffix:
appimage: "/appimage" # keep appimages in `{{ default_install_prefix }}/appimage`
archive: "/archive" # extract archives to `{{ default_install_prefix }}/archive`
bin: "/bin" # installation prefix. Binaries are placed in `{{ default_install_prefix }}/bin`
cargo: "/cargo" # cargo install location `{{ default_install_prefix }}/cargo`
go: "/go" # GOROOT `{{ default_install_prefix }}/go`
pipx: "/pipx" # where pipx environments are installed `{{ default_install_prefix }}/pipx`
# paths resolve to either $HOME/.local as the prefix, or /usr/local
# all created paths are named: