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

9.7 KiB

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

Variables pour "rougail"

Variable                                                                                                                Description                                                                                                            
rougail.condition
boolean standard obligatoire
A condition.
Défaut: True

a leadership

basic

This family contains lists of variable blocks.

Variable                                                                                                                Description                                                                                                            
rougail.leader.leader
string standard obligatoire unique multiple
Aleader.
Défaut:
- a
rougail.leader.follower
string basic obligatoire désactivé
A follower.
Désactivé: if condition is yes.