summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--roles/MX/files/etc/postfix/virtual/alias.cf (renamed from roles/MX/templates/etc/postfix/virtual/alias.cf.j2)0
-rw-r--r--roles/MX/files/etc/postfix/virtual/alias_domains.cf (renamed from roles/MX/templates/etc/postfix/virtual/alias_domains.cf.j2)0
-rw-r--r--roles/MX/files/etc/postfix/virtual/catchall.cf (renamed from roles/MX/templates/etc/postfix/virtual/catchall.cf.j2)0
-rw-r--r--roles/MX/files/etc/postfix/virtual/domains.cf (renamed from roles/MX/templates/etc/postfix/virtual/domains.cf.j2)0
-rw-r--r--roles/MX/files/etc/postfix/virtual/list.cf (renamed from roles/MX/templates/etc/postfix/virtual/list.cf.j2)0
-rw-r--r--roles/MX/files/etc/postfix/virtual/mailbox.cf (renamed from roles/MX/templates/etc/postfix/virtual/mailbox.cf.j2)0
-rw-r--r--roles/MX/files/etc/postfix/virtual/reserved_alias.pcre (renamed from roles/MX/templates/etc/postfix/virtual/reserved_alias.pcre.j2)0
-rw-r--r--roles/MX/tasks/main.yml17
8 files changed, 11 insertions, 6 deletions
diff --git a/roles/MX/templates/etc/postfix/virtual/alias.cf.j2 b/roles/MX/files/etc/postfix/virtual/alias.cf
index 1710376..1710376 100644
--- a/roles/MX/templates/etc/postfix/virtual/alias.cf.j2
+++ b/roles/MX/files/etc/postfix/virtual/alias.cf
diff --git a/roles/MX/templates/etc/postfix/virtual/alias_domains.cf.j2 b/roles/MX/files/etc/postfix/virtual/alias_domains.cf
index 119b8b2..119b8b2 100644
--- a/roles/MX/templates/etc/postfix/virtual/alias_domains.cf.j2
+++ b/roles/MX/files/etc/postfix/virtual/alias_domains.cf
diff --git a/roles/MX/templates/etc/postfix/virtual/catchall.cf.j2 b/roles/MX/files/etc/postfix/virtual/catchall.cf
index 66053c8..66053c8 100644
--- a/roles/MX/templates/etc/postfix/virtual/catchall.cf.j2
+++ b/roles/MX/files/etc/postfix/virtual/catchall.cf
diff --git a/roles/MX/templates/etc/postfix/virtual/domains.cf.j2 b/roles/MX/files/etc/postfix/virtual/domains.cf
index 4ec247d..4ec247d 100644
--- a/roles/MX/templates/etc/postfix/virtual/domains.cf.j2
+++ b/roles/MX/files/etc/postfix/virtual/domains.cf
diff --git a/roles/MX/templates/etc/postfix/virtual/list.cf.j2 b/roles/MX/files/etc/postfix/virtual/list.cf
index 3b364c0..3b364c0 100644
--- a/roles/MX/templates/etc/postfix/virtual/list.cf.j2
+++ b/roles/MX/files/etc/postfix/virtual/list.cf
diff --git a/roles/MX/templates/etc/postfix/virtual/mailbox.cf.j2 b/roles/MX/files/etc/postfix/virtual/mailbox.cf
index 4654607..4654607 100644
--- a/roles/MX/templates/etc/postfix/virtual/mailbox.cf.j2
+++ b/roles/MX/files/etc/postfix/virtual/mailbox.cf
diff --git a/roles/MX/templates/etc/postfix/virtual/reserved_alias.pcre.j2 b/roles/MX/files/etc/postfix/virtual/reserved_alias.pcre
index f1c79c7..f1c79c7 100644
--- a/roles/MX/templates/etc/postfix/virtual/reserved_alias.pcre.j2
+++ b/roles/MX/files/etc/postfix/virtual/reserved_alias.pcre
diff --git a/roles/MX/tasks/main.yml b/roles/MX/tasks/main.yml
index 8cd5106..cae498e 100644
--- a/roles/MX/tasks/main.yml
+++ b/roles/MX/tasks/main.yml
@@ -23,11 +23,11 @@
owner=root group=root
mode=0755
-- name: Copy lookup tables
- template: src=etc/postfix/virtual/{{ item }}.j2
- dest=/etc/postfix-{{ postfix_instance[inst].name }}/virtual/{{ item }}
- owner=root group=root
- mode=0644
+- name: Copy lookup tables (1)
+ file: src=etc/postfix/virtual/{{ item }}
+ dest=/etc/postfix-{{ postfix_instance[inst].name }}/virtual/{{ item }}
+ owner=root group=root
+ mode=0644
with_items:
- domains.cf
# no need to reload upon change, as cleanup(8) is short-running
@@ -37,7 +37,12 @@
- list.cf
- alias_domains.cf
- catchall.cf
- - transport
+
+- name: Copy lookup tables (2)
+ template: src=etc/postfix/virtual/transport.j2
+ dest=/etc/postfix-{{ postfix_instance[inst].name }}/virtual/transport
+ owner=root group=root
+ mode=0644
- name: Compile the Postfix transport maps
# trivial-rewrite(8) is a long-running process, so it's safer to reload