summaryrefslogtreecommitdiff
path: root/roles/common
diff options
context:
space:
mode:
Diffstat (limited to 'roles/common')
-rw-r--r--roles/common/tasks/main.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/roles/common/tasks/main.yml b/roles/common/tasks/main.yml
index 627190f..20d7ddf 100644
--- a/roles/common/tasks/main.yml
+++ b/roles/common/tasks/main.yml
@@ -9,4 +9,13 @@
- bind9-dnsutils
- ldnsutils
- htop
+ - unattended-upgrades
state: present
+- name: Install mailer
+ package:
+ name:
+ - nullmailer
+ state: present
+ when:
+ - mail_nullmailer is defined
+ - mail_nullmailer