70 lines
2.4 KiB
Text
70 lines
2.4 KiB
Text
== dictionaries/rougail/00-base.yml
|
|
|
|
[,yaml]
|
|
----
|
|
version: '1.1'
|
|
condition: true # a condition
|
|
leader:
|
|
description: a leadership
|
|
type: leadership
|
|
leader:
|
|
description: aleader
|
|
default:
|
|
- a
|
|
follower:
|
|
description: a follower
|
|
disabled:
|
|
type: jinja
|
|
jinja: |
|
|
{% if rougail.condition == "yes" %}
|
|
condition is yes
|
|
{% endif %}
|
|
description: if condition is yes
|
|
----
|
|
== Variables for "rougail"
|
|
|
|
[cols="118a,118a",options="header"]
|
|
|====
|
|
| Variable | Description
|
|
|
|
|
**rougail.condition** +
|
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[boolean]` `standard` `mandatory` |
|
|
A condition. +
|
|
**Default**: True
|
|
|====
|
|
|
|
=== a leadership
|
|
|
|
`basic`
|
|
|
|
|
|
This family contains lists of variable blocks.
|
|
|
|
[cols="118a,118a",options="header"]
|
|
|====
|
|
| Variable | Description
|
|
|
|
|
**rougail.leader.leader** +
|
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` `unique` `multiple` |
|
|
Aleader. +
|
|
**Default**:
|
|
|
|
* a
|
|
|
|
|
**rougail.leader.follower** +
|
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` _`disabled`_ |
|
|
A follower. +
|
|
**Disabled**: if condition is yes.
|
|
|====
|
|
|
|
|
|
== Example with all variables modifiable
|
|
|
|
[,yaml]
|
|
----
|
|
rougail:
|
|
condition: true
|
|
leader:
|
|
- leader: a
|
|
follower: example
|
|
----
|