-
Notifications
You must be signed in to change notification settings - Fork 0
/
argument_specs.yml
75 lines (75 loc) · 2.95 KB
/
argument_specs.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# Copyright 2022-2024 Chris Croome
#
# This file is part of the Webarchitects JC Ansible role.
#
# The Webarchitects JC Ansible role is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
#
# The Webarchitects JC Ansible role is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along with the Webarchitects JC Ansible role. If not, see <https://www.gnu.org/licenses/>.
---
argument_specs:
main:
author: Chris Croome
description: Ansible role to install JC on Debian and Ubuntu using apt, pipx or git.
short_description: The main entry point for the JC role.
options:
jc:
type: bool
required: true
description: Run the tasks in this role.
jc_bash:
type: bool
required: true
description: Install Bash completion if the jc version is >= 1.20.1 and not the .deb package, unless the jc version is <= 1.20.1.
jc_home:
type: str
required: true
description: Generated variable for the HOME directory of the Ansible user that JC is to be present for.
jc_install:
type: str
required: true
choices:
- deb
- git
- pipx
description: Install method for JC.
jc_jmespath_queries:
type: dict
required: true
description: JMESPath queries.
jc_pipx_root_env:
type: dict
required: false
description: The pipx environment variables for the root user.
options:
PIPX_HOME:
type: str
required: false
description: The PIPX_HOME environment variable value for pipx when run as root.
PIPX_BIN_DIR:
type: str
required: false
description: The PIPX_BIN_DIR environment variable value for pipx when run as root.
jc_pipx_user_env:
type: dict
required: false
description: The pipx environment variables for a regular user.
options:
PIPX_HOME:
type: str
required: false
description: The PIPX_HOME environment variable value for pipx when run as a regular user.
PIPX_BIN_DIR:
type: str
required: false
description: The PIPX_BIN_DIR environment variable value for pipx when run as a regular user.
jc_verify:
type: bool
required: true
description: Verify variables that start with jc underscore using the argument specification.
jc_version:
type: str
required: true
description: JC version number, branch name or latest.
...