matrix-docker-ansible-deploy/roles/matrix-dimension/vars/main.yml
2022-02-05 21:32:54 +01:00

6 lines
382 B
YAML

---
# 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_dimension_configuration`) will fail later.
matrix_dimension_configuration_extension: "{{ matrix_dimension_configuration_extension_yaml|from_yaml if matrix_dimension_configuration_extension_yaml|from_yaml else {} }}"