From 5d201f7d9b55ff50753da2456634a3e51462ba1f Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 22 Jun 2022 20:57:51 -0700 Subject: refactor 'apt' tasks to newer syntax (not 'with_items') --- roles/nullmailer/tasks/main.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'roles/nullmailer') 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 -- cgit v1.2.3