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') --- playbooks/init_adze.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'playbooks/init_adze.yml') diff --git a/playbooks/init_adze.yml b/playbooks/init_adze.yml index 6850327..9df9fcd 100644 --- a/playbooks/init_adze.yml +++ b/playbooks/init_adze.yml @@ -37,10 +37,11 @@ with_file: - pubkeys/bnewbold.pub - name: Extra packages for this host - apt: name={{item}} state=installed - with_items: - - socat - - rsyslog + apt: + state: present + name: + - socat + - rsyslog post_tasks: - name: Sanity check that we have IPv4 connectivity -- cgit v1.2.3