should have all the variables needed

This commit is contained in:
Matthew Stobbs
2026-01-25 01:38:28 -07:00
parent 7b8eaf35b7
commit fc0f6e6a82
5 changed files with 120 additions and 66 deletions

View File

@@ -21,13 +21,13 @@ argument_specs:
elements: str
description:
- Extra system packages by installation name to install using the system package manager
default_flatpak_method:
flatpak_method:
type: str
default: system
description:
- Default installation method for flatpaks.
- Possible values are 'system' and 'user'
default_install_method:
install_method:
type: str
default: system
choices:
@@ -41,18 +41,55 @@ argument_specs:
- Default installation method for packages.
- Varies between each indivdual package, but this is for overall package installation.
- Possible values are V(system), V(source), V(appimage), V(flatpak), V(cask), V(snap)
default_install_prefix:
install_prefix:
type: path
default: /usr/local
description:
- Default installation prefix when installation non-system packages.
path_suffix_appimage:
store_path:
type: path
default: "{{ default_install_prefix }}/appimage"
default: ANSIBLE_USER_DIR/.cache/ansible_role_package
description:
- Where to store cached files like archives and git repos
clean_source:
type: bool
default: false
description:
- Remove existing installation of package before installing
path_appimage:
type: path
default: INSTALL_PREFIX/appimage
description:
- Where appimage files are stored.
path_suffix_archive:
path_archive:
type: path
default: "{{ default_install_prefix }}/archive"
default: INSTALL_PREFIX/archive
description:
- Where archives are downloaded and extracted.
- Where archives are extracted.
path_bin:
type: path
default: INSTALL_PREFIX/bin
description:
- Where binaries are installed or linked.
- Needs to be added to your PATH
path_cargo:
type: path
default: INSTALL_PREFIX/cargo
description:
- Where cargo installs it's packages
path_go:
type: path
default: INSTALL_PREFIX/go
description:
- Where go is installed. Equivalent of GOROOT.
path_pipx:
type: path
default: INSTALL_PREFIX/pipx
description:
- Where pipx installs it's virtual environments
use_become:
type: bool
default: true
description:
- Elevate privileges when installing non-system packages.
- Building will be done as the ansible user, elevating only when installing.