diff options
author | Bryan Newbold <bnewbold@archive.org> | 2022-06-22 20:57:51 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2022-06-22 21:00:08 -0700 |
commit | 5d201f7d9b55ff50753da2456634a3e51462ba1f (patch) | |
tree | 073a983bb2162b71af6270bb9d454d0341bf7272 /playbooks | |
parent | b64c159c3df815c361a19884d63ceba59b709990 (diff) | |
download | infra-5d201f7d9b55ff50753da2456634a3e51462ba1f.tar.gz infra-5d201f7d9b55ff50753da2456634a3e51462ba1f.zip |
refactor 'apt' tasks to newer syntax (not 'with_items')
Diffstat (limited to 'playbooks')
-rw-r--r-- | playbooks/init_adze.yml | 9 | ||||
-rw-r--r-- | playbooks/init_bnewbold_nsa.yml | 9 |
2 files changed, 10 insertions, 8 deletions
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 diff --git a/playbooks/init_bnewbold_nsa.yml b/playbooks/init_bnewbold_nsa.yml index 7c2fb70..9529448 100644 --- a/playbooks/init_bnewbold_nsa.yml +++ b/playbooks/init_bnewbold_nsa.yml @@ -35,10 +35,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 |