matrix-docker-ansible-deploy/roles/matrix-ma1sd/vars/main.yml

6 lines
366 B
YAML
Raw Normal View History

2021-08-13 08:05:57 +00:00
---
# Doing `|from_yaml` when the extension contains nothing yields an empty string ("").
# We need to ensure it's a dictionary or `|combine` (when building `matrix_ma1sd_configuration`) will fail later.
matrix_ma1sd_configuration_extension: "{{ matrix_ma1sd_configuration_extension_yaml|from_yaml if matrix_ma1sd_configuration_extension_yaml|from_yaml else {} }}"