reorganize postfix/email role; drop meta/main.yml dependencies as they interact badly...
[ansible.git] / roles / postfix / tasks / main.yml
diff --git a/roles/postfix/tasks/main.yml b/roles/postfix/tasks/main.yml
deleted file mode 100644 (file)
index 07c344e..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-- name: install postfix
-  apt: name=postfix,bsd-mailx state=latest
-- name: install postfix config
-  register: config_main
-  template:
-    src: templates/{{ item }}
-    dest: /etc/postfix/{{ item }}
-  with_items:
-  - main.cf
-  - master.cf
-- name: reload postfix
-  service: name=postfix state=restarted enabled=yes
-  when: config_main.changed
-- name: delete old local-mail cronjob
-  file: path=/etc/cron.daily/local-mail state=absent
-- name: install check-for-local-mail cronjob
-  copy:
-    src: files/check-for-local-mail
-    dest: /etc/cron.daily/check-for-local-mail
-    mode: u=rwx,g=rx,o=rx