Collect versions and service information in docker/defaults/main.yml #125
|
@ -6,8 +6,13 @@
|
||||||
- name: setup services
|
- name: setup services
|
||||||
include_tasks: "services/{{ item.value.file }}"
|
include_tasks: "services/{{ item.value.file }}"
|
||||||
loop: "{{ services | dict2items }}"
|
loop: "{{ services | dict2items }}"
|
||||||
when: single_service is not defined and item.value.file is defined and item.value.disabled_in_vagrant is not defined
|
when: single_service is not defined and
|
||||||
|
item.value.file is defined and
|
||||||
|
item.value.disabled_in_vagrant is not defined
|
||||||
|
|
||||||
- name: setup single service
|
- name: setup single service
|
||||||
include_tasks: "services/{{ services[single_service].file }}"
|
include_tasks: "services/{{ services[single_service].file }}"
|
||||||
when: single_service is defined and single_service in services and services[single_service].file is defined and services[single_service].disabled_in_vagrant is not defined
|
when: single_service is defined and
|
||||||
|
single_service in services and
|
||||||
|
services[single_service].file is defined and
|
||||||
|
services[single_service].disabled_in_vagrant is not defined
|
||||||
|
|
Loading…
Reference in a new issue