Refactor service deployment + upload Compose files to the server #178
|
@ -18,7 +18,7 @@
|
||||||
include_tasks:
|
include_tasks:
|
||||||
file: block.yml
|
file: block.yml
|
||||||
vars:
|
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
|
when: single_service is defined and single_service in services and
|
||||||
(services[single_service].disabled_in_vagrant is not defined or
|
(services[single_service].disabled_in_vagrant is not defined or
|
||||||
not (services[single_service].disabled_in_vagrant and vagrant))
|
not (services[single_service].disabled_in_vagrant and vagrant))
|
||||||
|
|
Loading…
Reference in a new issue