aboutsummaryrefslogtreecommitdiffstats
path: root/roles/nullmailer/tasks
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2022-06-22 20:57:51 -0700
committerBryan Newbold <bnewbold@archive.org>2022-06-22 21:00:08 -0700
commit5d201f7d9b55ff50753da2456634a3e51462ba1f (patch)
tree073a983bb2162b71af6270bb9d454d0341bf7272 /roles/nullmailer/tasks
parentb64c159c3df815c361a19884d63ceba59b709990 (diff)
downloadinfra-5d201f7d9b55ff50753da2456634a3e51462ba1f.tar.gz
infra-5d201f7d9b55ff50753da2456634a3e51462ba1f.zip
refactor 'apt' tasks to newer syntax (not 'with_items')
Diffstat (limited to 'roles/nullmailer/tasks')
-rw-r--r--roles/nullmailer/tasks/main.yml9
1 files changed, 5 insertions, 4 deletions
diff --git a/roles/nullmailer/tasks/main.yml b/roles/nullmailer/tasks/main.yml
index d694173..b22cda3 100644
--- a/roles/nullmailer/tasks/main.yml
+++ b/roles/nullmailer/tasks/main.yml
@@ -1,9 +1,10 @@
---
- name: Install nullmailer and mailx
- apt: name={{ item }} state=installed
- with_items:
- - nullmailer
- - heirloom-mailx
+ apt:
+ state: present
+ name:
+ - nullmailer
+ - heirloom-mailx
tags:
- dependencies