From f5c6547d85a407d5f59dc7c6a5d9323c0e239f54 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Fri, 11 Mar 2022 03:34:47 +0300 Subject: [PATCH] Feat(debian/email): Configure email: `exim` + `spamassassin` --- playbooks/roles/debian/email/README.txt | 1 + playbooks/roles/debian/email/tasks/main.yml | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 playbooks/roles/debian/email/README.txt create mode 100644 playbooks/roles/debian/email/tasks/main.yml diff --git a/playbooks/roles/debian/email/README.txt b/playbooks/roles/debian/email/README.txt new file mode 100644 index 0000000..5f6e74c --- /dev/null +++ b/playbooks/roles/debian/email/README.txt @@ -0,0 +1 @@ +Configure email: exim + spamassassin. diff --git a/playbooks/roles/debian/email/tasks/main.yml b/playbooks/roles/debian/email/tasks/main.yml new file mode 100644 index 0000000..0ecc3a8 --- /dev/null +++ b/playbooks/roles/debian/email/tasks/main.yml @@ -0,0 +1,8 @@ +- name: Install exim and spamassassin + become: true + apt: + cache_valid_time: 3600 + install_recommends: no + name: ['exim4', 'spamassassin', 'spamc'] + state: latest + update_cache: yes -- 2.39.5