-
-
Notifications
You must be signed in to change notification settings - Fork 127
Expand file tree
/
Copy pathaar-doc_template.j2
More file actions
50 lines (37 loc) · 1.18 KB
/
Copy pathaar-doc_template.j2
File metadata and controls
50 lines (37 loc) · 1.18 KB
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
## Role Arguments
{% for entrypoint in argument_specs.keys() %}
{% if entrypoint_options[entrypoint] %}
{%- set path, options=entrypoint_options[entrypoint][0] -%}
|Option|Description|Default|
|---|---|---|
{%- for name, details in options.items() %}
| {{ name }} | {{ details.display_description | ansible_doc_markup }} | {{ details.display_default }} |
{%- endfor %}
{% if entrypoint_options[entrypoint] | length > 1 -%}
{% for path, options in entrypoint_options[entrypoint][1:] -%}
#### Options for {{ path | join(" > ") }}
|Option|Description|Default|
|---|---|---|
{%- for name, details in options.items() %}
| {{ name }} | {{ details.display_description | ansible_doc_markup }} | {{ details.display_default }} |
{%- endfor %}
{% endfor -%}
{% endif -%}
{% if entrypoint in entrypoint_choices -%}
{% for path, choices in entrypoint_choices[entrypoint] -%}
#### Choices for {{ path | join(" > ") }}
|Choice|
|---|
{%- for item in choices %}
| {{ item }} |
{%- endfor %}
{% endfor -%}
{% endif -%}
{% else -%}
This entrypoint has no options.
{% endif -%}
{%- if "examples" in argument_specs[entrypoint] -%}
#### Examples
{{ argument_specs[entrypoint].examples }}
{%- endif -%}
{% endfor %}