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

6.1 KiB

Table of Contents

dictionaries/rougail/00-base.yml

---
version: 1.1
leader:
  description: leader
  type: leadership
  leader:  # a leader
    - a
    - b
  follower:
    description: a follower
    disabled:
      jinja: |
        {% if _.leader == "a" %}
        the value of "leader" is "a"
        {% endif %}        
      description: if the value of "leader" is "a"
    default:
      variable: _.leader

Variables for "Rougail"

rougail.leader

standard

This family contains lists of variable blocks.

Variable                                                                                                                       Description                                                                                                                   
rougail.leader.leader
string standard mandatory unique multiple
A leader.
Default:
- a
- b
rougail.leader.follower
string standard mandatory disabled
A follower.
Default: the value of the variable "rougail.leader.leader".
Disabled: if the value of "leader" is "a".