60 lines
4.4 KiB
Bash
60 lines
4.4 KiB
Bash
# dictionaries/rougail/00-base.yml
|
||
|
||
```yaml
|
||
---
|
||
version: '1.1'
|
||
condition: no # a condition
|
||
var1:
|
||
description: a first variable
|
||
hidden:
|
||
jinja: |
|
||
{% if unknown is not defined %}
|
||
unknown is undefined
|
||
{% elif unknown == "no" %}
|
||
unknown is no
|
||
{% endif %}
|
||
params:
|
||
unknown:
|
||
variable: _.unknown
|
||
optional: true
|
||
description: calculation from an unknown variable
|
||
mandatory: false
|
||
var2:
|
||
description: a second variable
|
||
hidden:
|
||
jinja: |
|
||
{% if condition is not defined %}
|
||
condition is undefined
|
||
{% elif condition == "no" %}
|
||
condition is no
|
||
{% endif %}
|
||
params:
|
||
condition:
|
||
variable: _.condition
|
||
optional: true
|
||
description: calculation from an condition variable
|
||
mandatory: false
|
||
```
|
||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||
┃ [1mVariables[0m ┃
|
||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||
[1mcondition[0m
|
||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m A condition.
|
||
[1mDefault[0m: no
|
||
[1mvar1[0m
|
||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;3;36;40mhidden[0m A first variable.
|
||
[1mHidden[0m: calculation from an unknown variable.
|
||
[1mvar2[0m
|
||
[1;36;40mstring[0m [1;36;40mstandard[0m [1;3;36;40mhidden[0m A second variable.
|
||
[1mHidden[0m: calculation from an condition variable.
|
||
|