aboutsummaryrefslogtreecommitdiffstats
path: root/ansible
diff options
context:
space:
mode:
Diffstat (limited to 'ansible')
-rw-r--r--ansible/roles/postfix/tasks/main.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/ansible/roles/postfix/tasks/main.yml b/ansible/roles/postfix/tasks/main.yml
index 2e843e5..1c00777 100644
--- a/ansible/roles/postfix/tasks/main.yml
+++ b/ansible/roles/postfix/tasks/main.yml
@@ -52,3 +52,16 @@
- role::postfix
notify:
- Reload postfix
+
+- name: Copy virtual address table
+ template:
+ src: virtual.j2
+ dest: /etc/postfix/virtual
+ owner: root
+ group: root
+ mode: "0644"
+ tags:
+ - role::postfix
+ notify:
+ - Regenerate virtual table
+ - Reload postfix