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

9.7 KiB

Table of Contents

dictionaries/rougail/00-base.yml

---
version: '1.1'
condition: yes    # a condition
leader:
  description: a leadership
  type: leadership
  leader:
    description: a leader
    multi: true
  follower:
    description: a follower
    disabled:
      jinja: |
        {% if __.condition == "yes" %}
        disabled
        {% endif %}        
      description: if condition is yes

Variables pour "rougail"

Variable                                                                                                                Description                                                                                                            
rougail.condition
string standard obligatoire
A condition.
Défaut: yes

a leadership

basic

This family contains lists of variable blocks.

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