ansible/roles/services/tasks/pre_deploy/postfix.yml

15 lines
309 B
YAML

# vim: ft=yaml.ansible
# code: language=ansible
---
- name: Set up network for Postfix
docker_network:
name: postfix
ipam_config:
- subnet: '172.16.0.0/16'
gateway: 172.16.0.1
- name: Create subfolder
file:
name: "{{ services.postfix.volume_folder }}/dkim"
state: directory