From 49182fff0b045c6d67b883f223b0ce1869643e31 Mon Sep 17 00:00:00 2001 From: genofire Date: Mon, 20 Jul 2020 09:46:16 +0200 Subject: [PATCH] install components --- tasks/db.yml | 0 tasks/dovecot.yml | 6 ++++++ tasks/mailman.yml | 5 +++++ tasks/main.yml | 15 +++++++++++++++ tasks/postfix.yml | 5 +++++ tasks/rspamd.yml | 6 ++++++ 6 files changed, 37 insertions(+) create mode 100644 tasks/db.yml create mode 100644 tasks/dovecot.yml create mode 100644 tasks/mailman.yml create mode 100644 tasks/main.yml create mode 100644 tasks/postfix.yml create mode 100644 tasks/rspamd.yml diff --git a/tasks/db.yml b/tasks/db.yml new file mode 100644 index 0000000..e69de29 diff --git a/tasks/dovecot.yml b/tasks/dovecot.yml new file mode 100644 index 0000000..7ca8d47 --- /dev/null +++ b/tasks/dovecot.yml @@ -0,0 +1,6 @@ +- name: Install dovecot + package: + state: latest + name: + - dovecot + - pigeonhole diff --git a/tasks/mailman.yml b/tasks/mailman.yml new file mode 100644 index 0000000..7283a36 --- /dev/null +++ b/tasks/mailman.yml @@ -0,0 +1,5 @@ +- name: Install Mailman + package: + state: latest + name: + - mailman diff --git a/tasks/main.yml b/tasks/main.yml new file mode 100644 index 0000000..c7d4cb2 --- /dev/null +++ b/tasks/main.yml @@ -0,0 +1,15 @@ +- name: Run userdatabase + import_tasks: db.yml + +- name: Run dovecot + import_tasks: dovecot.yml + +- name: Run rspamd + import_tasks: rspamd.yml + +- name: Run mailman + import_tasks: mailman.yml + +- name: Run postfix + import_tasks: postfix.yml + diff --git a/tasks/postfix.yml b/tasks/postfix.yml new file mode 100644 index 0000000..28388ef --- /dev/null +++ b/tasks/postfix.yml @@ -0,0 +1,5 @@ +- name: Install Postfix + package: + state: latest + name: + - postfix diff --git a/tasks/rspamd.yml b/tasks/rspamd.yml new file mode 100644 index 0000000..7efd802 --- /dev/null +++ b/tasks/rspamd.yml @@ -0,0 +1,6 @@ +--- +- name: Install rspamd + package: + state: latest + name: + - rspamd