workign on argument specs
This commit is contained in:
@@ -9,33 +9,50 @@ argument_specs:
|
||||
author:
|
||||
- Matthew Stobbs <matthew@stobbs.ca>
|
||||
options:
|
||||
use_local:
|
||||
type: bool
|
||||
default: true
|
||||
required: false
|
||||
description:
|
||||
Install packages using the current users
|
||||
`$HOME/.local` directory as the install prefix.
|
||||
|
||||
When `false`, uses the system wide `/usr/local`
|
||||
as the install prefix, and stores other parts
|
||||
(appimages, extracted archives, cache) in the
|
||||
appropriate path starting with `/opt`.
|
||||
packages:
|
||||
type: list
|
||||
elements: str
|
||||
required: true
|
||||
description: |
|
||||
The list of packages to install by name.
|
||||
The list must contain only values that exist in
|
||||
`Available Packages` in `README.md`
|
||||
prefer_method:
|
||||
description:
|
||||
- The list of packages to install by name.
|
||||
- The list must contain only values that exist in B(Available Packages) in README.md
|
||||
extra_packages:
|
||||
type: list
|
||||
elements: str
|
||||
description:
|
||||
- Extra system packages by installation name to install using the system package manager
|
||||
default_flatpak_method:
|
||||
type: str
|
||||
default: system
|
||||
description:
|
||||
- Default installation method for flatpaks.
|
||||
- Possible values are 'system' and 'user'
|
||||
default_install_method:
|
||||
type: str
|
||||
required: false
|
||||
default: system
|
||||
choices:
|
||||
- flatpak
|
||||
- langtool
|
||||
- snap
|
||||
- source
|
||||
- system
|
||||
- source
|
||||
- appimage
|
||||
- flatpak
|
||||
- cask
|
||||
- snap
|
||||
description:
|
||||
- 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:
|
||||
type: path
|
||||
default: /usr/local
|
||||
description:
|
||||
- Default installation prefix when installation non-system packages.
|
||||
path_suffix_appimage:
|
||||
type: path
|
||||
default: "{{ default_install_prefix }}/appimage"
|
||||
description:
|
||||
- Where appimage files are stored.
|
||||
path_suffix_archive:
|
||||
type: path
|
||||
default: "{{ default_install_prefix }}/archive"
|
||||
description:
|
||||
- Where archives are downloaded and extracted.
|
||||
|
||||
Reference in New Issue
Block a user