summaryrefslogtreecommitdiff
path: root/roles/common
diff options
context:
space:
mode:
authoruvok cheetah2024-04-02 17:10:41 +0200
committeruvok cheetah2024-04-02 17:10:41 +0200
commitaaaa51c97edcb16481361be702fc08e895172008 (patch)
treefba32dc24e7dc68cb8325d84647a1ca40a141c9c /roles/common
parentfa6b28ee53941d99e5a567ef057a87c6f5973f48 (diff)
Install nullmailer and unattended-upgrades
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