rougail/tests/dictionaries/10check_valid_jinja/yml/00-base.yml

25 lines
613 B
YAML
Raw Normal View History

2023-09-04 19:18:40 +02:00
version: '0.10'
variables:
- family:
- name: general
variables:
- variable:
- name: mode_conteneur_actif
type: string
description: No change
value:
- text: oui
- name: mode_conteneur_actif1
type: string
description: No change
value:
- text: non
constraints:
- check:
- name: '{% if rougail.general.mode_conteneur_actif == rougail.general.mode_conteneur_actif1
%}the value must be different than "{{ rougail.general.mode_conteneur_actif
}}"{% endif %}'
type: jinja
target:
- text: mode_conteneur_actif