datacoop.ansible/roles/docker/tasks/services.yml

17 lines
334 B
YAML

---
- name: setup external services network
docker_network:
name: external_services
- 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 }}"