data.coop-ansible/roles/docker/tasks/services.yml

12 lines
284 B
YAML
Raw Normal View History

---
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
- name: setup services
2018-06-24 13:17:35 +00:00
docker_service:
project_name: "{{ item }}"
2018-06-24 13:17:35 +00:00
definition:
"{{ lookup('file', 'composefiles/{{ item }}.yml') | from_yaml }}"
with_items: "{{ services }}"