34 lines
3.7 KiB
Bash
34 lines
3.7 KiB
Bash
|
# dictionaries/rougail/00-base.yml
|
|||
|
|
|||
|
```yaml
|
|||
|
---
|
|||
|
version: '1.1'
|
|||
|
condition: no # a condition
|
|||
|
var:
|
|||
|
description: a variable
|
|||
|
mandatory:
|
|||
|
jinja: |
|
|||
|
{% if _.condition == "yes" %}
|
|||
|
condition is yes
|
|||
|
{% endif %}
|
|||
|
description: only if rougail.condition has the value "yes"
|
|||
|
```
|
|||
|
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
|||
|
┃ [1mVariables for "Rougail"[0m ┃
|
|||
|
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
[1m [0m[1mVariable [0m[1m [0m [1m [0m[1mDescription [0m[1m [0m
|
|||
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|||
|
[1mrougail.condition[0m
|
|||
|
[1;36;40mstring[0m [1;36;40mstandard[0m [1;36;40mmandatory[0m A condition.
|
|||
|
[1mDefault[0m: no
|
|||
|
[1mrougail.var[0m
|
|||
|
[1;36;40mstring[0m [1;36;40mstandard[0m [1;3;36;40mmandatory[0m A variable.
|
|||
|
[1mMandatory[0m: only if rougail.condition has the value "yes".
|
|||
|
|