rougail-output-doc/tests/docs/base/40_2leadership_leader_calculation.md
2024-08-05 14:38:59 +02:00

6.3 KiB

Table of Contents

dictionaries/rougail/00-base.yml

---
version: '1.1'
leader:
  description: a leadership
  type: leadership
  leader:
    description: a leader
    multi: true
    default:
      type: jinja
      jinja: |
        val1
        val2        
      description: returns val1 and val2
  follower1:  # a first follower
  follower2:  # a second follower

Variables for "rougail"

a leadership

basic

This family contains lists of variable blocks.

Variable                                                                                                Description                                                                                            
rougail.leader.leader
string standard mandatory unique multiple
A leader.
Default: returns val1 and val2.
rougail.leader.follower1
string basic mandatory
A first follower.
rougail.leader.follower2
string basic mandatory
A second follower.

Example with all variables modifiable

---
rougail:
  leader:
    - leader: val1
      follower1: example
      follower2: example
    - leader: val2
      follower1: example
      follower2: example