Fix magic

This commit is contained in:
Sam A. 2023-10-04 21:34:59 +02:00
parent 3dc4e14c15
commit 5ae78bcd17
Signed by untrusted user: samsapti
GPG key ID: CBBBE7371E81C4EA

View file

@ -18,7 +18,7 @@
include_tasks:
file: block.yml
vars:
service: "{{ {single_service: services[single_service]} | dict2items(key_name='name', value_name='vars') }}"
service: "{{ {single_service: services[single_service]} | dict2items(key_name='name', value_name='vars') | join }}"
when: single_service is defined and single_service in services and
(services[single_service].disabled_in_vagrant is not defined or
not (services[single_service].disabled_in_vagrant and vagrant))