blob: 427946e5389f4f88eabbdd3b816d97e4a9c0fd75 (
plain)
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
|
---
argument_specs:
main:
short_description: "EXPECTED FAILURE Validate the argument spec for the 'test1' role"
options:
test1_choices:
required: false
# required: true
choices:
- "this paddle game"
- "the astray"
- "this remote control"
- "the chair"
type: "str"
default: "this paddle game"
tidy_expected:
# required: false
# default: none
type: "list"
test1_var1:
# required: true
default: "THIS IS THE DEFAULT SURVEY ANSWER FOR test1_survey_test1_var1"
type: "str"
test1_var2:
required: false
default: "This IS THE DEFAULT fake band name / test1_var2 answer from survey_spec.yml"
type: "str"
bust_some_stuff:
# required: false
type: "int"
some_choices:
choices:
- "choice1"
- "choice2"
required: false
type: "str"
some_str:
type: "str"
some_list:
type: "list"
elements: "float"
some_dict:
type: "dict"
some_bool:
type: "bool"
some_int:
type: "int"
some_float:
type: "float"
some_path:
type: "path"
some_raw:
type: "raw"
some_jsonarg:
type: "jsonarg"
required: true
some_json:
type: "json"
required: true
some_bytes:
type: "bytes"
some_bits:
type: "bits"
some_str_aliases:
type: "str"
aliases:
- "some_str_nicknames"
- "some_str_akas"
- "some_str_formerly_known_as"
some_dict_options:
type: "dict"
options:
some_second_level:
type: "bool"
default: true
some_more_dict_options:
type: "dict"
options:
some_second_level:
type: "str"
some_str_removed_in:
type: "str"
removed_in: 2.10
some_tmp_path:
type: "path"
multi_level_option:
type: "dict"
options:
second_level:
type: "dict"
options:
third_level:
type: "int"
required: true
other:
short_description: "test1_simple_preset_arg_spec_other"
description: "A simpler set of required args for other tasks"
options:
test1_var1:
default: "This the default value for the other set of arg specs for test1 test1_var1"
type: "str"
test1_other:
description: "test1_other for role_that_includes_role"
options:
some_test1_other_arg:
default: "The some_test1_other_arg default value"
type: str
some_required_str:
type: str
required: true
|