rougail-output-doc/tests/changelog/10mod_variable_validator3/after/rougail/00-base.yml

23 lines
511 B
YAML

%YAML 1.2
---
version: 1.1
var1:
description: first variable
validators:
- jinja: |
{% if _.var1 == "not valid4" %}
not valid4
{% endif %}
description: '"not valid4" is not allowed'
- jinja: |
{% if _.var1 == "not valid2" %}
not valid2
{% endif %}
description: '"not valid2" is not allowed'
- jinja: |
{% if _.var1 == "not valid5" %}
not valid5
{% endif %}
description: '"not valid5" is not allowed'
...