2019-01-19 13:56:23 +00:00
|
|
|
---
|
2018-06-24 13:16:56 +00:00
|
|
|
- name: setup external services network
|
|
|
|
docker_network:
|
|
|
|
name: external_services
|
2018-06-24 13:17:35 +00:00
|
|
|
|
2022-11-25 23:11:16 +00:00
|
|
|
#- name: setup services
|
|
|
|
# include_tasks: "services/{{ item.value.file }}"
|
|
|
|
# loop: "{{ services | dict2items }}"
|
|
|
|
# when: item.key in enabled_services and item.value.file is defined and item.value.disabled_in_vagrant is not defined
|
|
|
|
|
2018-06-24 16:19:56 +00:00
|
|
|
- name: setup services
|
2022-11-25 23:11:16 +00:00
|
|
|
include_tasks: "services/{{ services[item].file }}"
|
|
|
|
loop: "{{ enabled_services }}"
|
|
|
|
when: item in services and services[item].file is defined and services[item].disabled_in_vagrant is not defined
|