Refactor service deployment + upload Compose files to the server #178

Merged
samsapti merged 24 commits from compose-files into main 2023-12-09 18:38:11 +00:00
Showing only changes of commit 5ae78bcd17 - Show all commits

View file

@ -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))