2024-11-06 17:39:13 +01:00
|
|
|
== dictionaries/rougail/00-base.yml
|
|
|
|
|
|
|
|
[,yaml]
|
|
|
|
----
|
2024-11-08 22:11:34 +01:00
|
|
|
---
|
2024-11-06 17:39:13 +01:00
|
|
|
version: 1.1
|
|
|
|
var1:
|
|
|
|
description: a second variable
|
|
|
|
multi: true
|
|
|
|
default:
|
|
|
|
- no
|
|
|
|
- yes
|
|
|
|
validators:
|
|
|
|
- jinja: |
|
|
|
|
{% if _.var1 | length > 9 %}
|
|
|
|
length must be less than 10
|
|
|
|
{% endif %}
|
|
|
|
description: check length is less than 10
|
|
|
|
----
|
2024-11-07 22:51:28 +01:00
|
|
|
== Variables for "rougail"
|
2024-11-06 17:39:13 +01:00
|
|
|
|
2024-11-08 22:11:34 +01:00
|
|
|
[cols="1a,1a"]
|
2024-11-06 17:39:13 +01:00
|
|
|
|====
|
2024-11-07 22:51:28 +01:00
|
|
|
| Variable | Description
|
2024-11-06 17:39:13 +01:00
|
|
|
|
|
|
|
|
**rougail.var1** +
|
2024-11-07 22:51:28 +01:00
|
|
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` `unique` `multiple` |
|
2024-11-06 17:39:13 +01:00
|
|
|
A second variable. +
|
|
|
|
**Validator**: check length is less than 10. +
|
2024-11-07 22:51:28 +01:00
|
|
|
**Default**:
|
2024-11-06 17:39:13 +01:00
|
|
|
|
|
|
|
* no
|
2024-11-07 22:51:28 +01:00
|
|
|
* yes
|
2024-11-06 17:39:13 +01:00
|
|
|
|====
|
|
|
|
|
|
|
|
|