rougail-output-doc/tests/docs/examples/24_0family_hidden_condition_boolean.md

495 B

Table of Contents

dictionaries/rougail/00-base.yml

---
version: '1.1'
condition: false  # a conditional variable
family:
  description: a family
  hidden:
    jinja: |
      {% if not rougail.condition %}
      condition is false
      {% endif %}      
    description: if not condition
  variable:
    description: a variable
    mandatory: false

Example with all variables modifiable

---
rougail:
  condition: false
  family:
    variable: example