-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVARIABLES.j2
42 lines (33 loc) · 1.48 KB
/
VARIABLES.j2
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
# Webarchitects PHP Ansible Role Variables
{#- j2lint: disable=jinja-statements-delimiter #}
Documentation for all the variables, including internal ones which you do not need to set, follow, this documentation has been generated from the [meta/argument_specs.yml](meta/argument_specs.yml), see also the [README.md](README.md).
{% for entrypoint in argument_specs.keys() %}
{%- set path, options=entrypoint_options[entrypoint][0] -%}
## Entrypoint: {{ entrypoint }}
{{ argument_specs[entrypoint].short_description }}
|Option|Description|Type|Required|
|---|---|---|---|
{%- for name, details in options.items() %}
| {{ name }} | {{ details.display_description }} | {{ details.display_type }} | {{ details.display_required }} |
{%- endfor %}
{% if entrypoint_options[entrypoint] | length > 1 -%}
{% for path, options in entrypoint_options[entrypoint][1:] -%}
### Options for {{ path | join(" > ") }}
|Option|Description|Type|Required|
|---|---|---|---|
{%- for name, details in options.items() %}
| {{ name }} | {{ details.display_description }} | {{ details.display_type }} | {{ details.display_required }} |
{%- 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 -%}
{%- endfor %}