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

580 B

Table of Contents

dictionaries/rougail/00-base.yml

---
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

---
rougail:
  condition: true
  leader:
    - leader: a
      follower: example