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

5.3 KiB

Table of Contents

dictionaries/rougail/00-base.yml

---
version: '1.1'
leader:
  description: leadership
  type: leadership
  leader:  # a leader
    - a
    - b
    - c
  follower1:
    description: a follower
    type: number
    default:
      type: jinja
      jinja: '{{ index }}'
      params:
        index:
          type: index
      description: returns index

Variables for "rougail"

leadership

standard

This family contains lists of variable blocks.

Variable                                                                                                   Description                                                                                               
rougail.leader.leader
string standard mandatory unique multiple
A leader.
Default:
- a
- b
- c
rougail.leader.follower1
number standard mandatory
A follower.
Default: returns index.

Example with all variables modifiable

---
rougail:
  leader:
    - leader: a
      follower1: 2
    - leader: b
      follower1: 2
    - leader: c
      follower1: 2