matrix-docker-ansible-deploy/roles/custom/matrix-dimension/vars/main.yml

10 lines
492 B
YAML
Raw Normal View History

# SPDX-FileCopyrightText: 2022 MDAD Team and contributors
#
# SPDX-License-Identifier: AGPL-3.0-or-later
---
# 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.
2022-07-18 08:22:05 +00:00
matrix_dimension_configuration_extension: "{{ matrix_dimension_configuration_extension_yaml | from_yaml if matrix_dimension_configuration_extension_yaml | from_yaml else {} }}"