rougail/tests/dictionaries_old/01auto_jinja_if/yml/00-base.yml

30 lines
730 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
hidden: true
- name: mode_conteneur_actif1
type: string
description: No change
value:
- text: non
- name: mode_conteneur_actif2
type: string
description: No change
hidden: true
constraints:
- fill:
- name: '{% if mode_conteneur_actif1 == ''non'' %}non{% else %}oui{% endif %}'
type: jinja
target:
- text: mode_conteneur_actif
- name: '{% if mode_conteneur_actif1 == "non" %}oui{% else %}non{% endif %}'
type: jinja
target:
- text: mode_conteneur_actif2