62 lines
2 KiB
Text
62 lines
2 KiB
Text
|
== dictionaries/rougail/00-base.yml
|
||
|
|
||
|
[,yaml]
|
||
|
----
|
||
|
version: '1.1'
|
||
|
leader:
|
||
|
description: a leadership
|
||
|
type: leadership
|
||
|
leader:
|
||
|
description: a leader
|
||
|
multi: true
|
||
|
default:
|
||
|
type: jinja
|
||
|
jinja: |
|
||
|
val1
|
||
|
val2
|
||
|
description: returns val1 and val2
|
||
|
follower1: # a first follower
|
||
|
follower2: # a second follower
|
||
|
----
|
||
|
== Variables for "rougail"
|
||
|
|
||
|
=== a leadership
|
||
|
|
||
|
`basic`
|
||
|
|
||
|
|
||
|
This family contains lists of variable blocks.
|
||
|
|
||
|
[cols="105a,105a",options="header"]
|
||
|
|====
|
||
|
| Variable | Description
|
||
|
|
|
||
|
**rougail.leader.leader** +
|
||
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` `unique` `multiple` |
|
||
|
A leader. +
|
||
|
**Default**: returns val1 and val2.
|
||
|
|
|
||
|
**rougail.leader.follower1** +
|
||
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` |
|
||
|
A first follower.
|
||
|
|
|
||
|
**rougail.leader.follower2** +
|
||
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` |
|
||
|
A second follower.
|
||
|
|====
|
||
|
|
||
|
|
||
|
== Example with all variables modifiable
|
||
|
|
||
|
[,yaml]
|
||
|
----
|
||
|
rougail:
|
||
|
leader:
|
||
|
- leader: val1
|
||
|
follower1: example
|
||
|
follower2: example
|
||
|
- leader: val2
|
||
|
follower1: example
|
||
|
follower2: example
|
||
|
----
|