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

17 lines
334 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 network for postfix
docker_network:
name: postfix
ipam_options:
subnet: '172.16.0.0/16'
gateway: 172.16.0.1
- name: setup services
include_tasks: "services/{{ item }}.yml"
with_items: "{{ services }}"