28 lines
430 B
Markdown
28 lines
430 B
Markdown
|
---
|
||
|
gitea: none
|
||
|
include_toc: true
|
||
|
---
|
||
|
# 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"
|
||
|
```
|
||
|
# Example with all variables modifiable
|
||
|
|
||
|
```yaml
|
||
|
---
|
||
|
rougail:
|
||
|
condition: no
|
||
|
var: example
|
||
|
```
|