aboutsummaryrefslogtreecommitdiffstats
path: root/roles/mailserver/tasks/postfix.yml
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2019-01-16 13:24:08 -0800
committerBryan Newbold <bnewbold@archive.org>2019-01-16 13:24:30 -0800
commit427427ec3bcb58eadaa9c62477f70a5f3c6f39e0 (patch)
treecf3e6030e2cfd158bf118965ffd79b44bba40ba9 /roles/mailserver/tasks/postfix.yml
parent619285adf88d3ea78a1501108888d0d2d23d0a06 (diff)
downloadinfra-427427ec3bcb58eadaa9c62477f70a5f3c6f39e0.tar.gz
infra-427427ec3bcb58eadaa9c62477f70a5f3c6f39e0.zip
mailserver role
Diffstat (limited to 'roles/mailserver/tasks/postfix.yml')
-rw-r--r--roles/mailserver/tasks/postfix.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/roles/mailserver/tasks/postfix.yml b/roles/mailserver/tasks/postfix.yml
new file mode 100644
index 0000000..a36acd6
--- /dev/null
+++ b/roles/mailserver/tasks/postfix.yml
@@ -0,0 +1,18 @@
+- name: Install Postfix and related packages
+ apt: pkg={{ item }} state=installed
+ with_items:
+ - libsasl2-modules
+ - postfix
+ - postfix-pcre
+ - sasl2-bin
+ tags:
+ - dependencies
+
+#- name: Copy main.cf
+# template: src=etc_postfix_main.cf.j2 dest=/etc/postfix/main.cf owner=root group=root
+# notify: restart postfix
+
+#- name: Copy master.cf
+# copy: src=etc_postfix_master.cf dest=/etc/postfix/master.cf owner=root group=root
+# notify: restart postfix
+