rougail-output-doc/tests/docs/examples/44_4disabled_calcultion_follower.md

36 lines
580 B
Markdown

---
gitea: none
include_toc: true
---
# 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:
jinja: |
{% if rougail.condition == "yes" %}
condition is yes
{% endif %}
description: if condition is yes
```
# Example with all variables modifiable
```yaml
---
rougail:
condition: true
leader:
- leader: a
follower: example
```