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 /roles/mailserver/tasks/dovecot.yml | |
parent | b64c159c3df815c361a19884d63ceba59b709990 (diff) | |
download | infra-5d201f7d9b55ff50753da2456634a3e51462ba1f.tar.gz infra-5d201f7d9b55ff50753da2456634a3e51462ba1f.zip |
refactor 'apt' tasks to newer syntax (not 'with_items')
Diffstat (limited to 'roles/mailserver/tasks/dovecot.yml')
-rw-r--r-- | roles/mailserver/tasks/dovecot.yml | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/roles/mailserver/tasks/dovecot.yml b/roles/mailserver/tasks/dovecot.yml index 9d2c20e..ca62b96 100644 --- a/roles/mailserver/tasks/dovecot.yml +++ b/roles/mailserver/tasks/dovecot.yml @@ -1,10 +1,12 @@ - name: Install Dovecot and related packages - apt: pkg={{ item }} update_cache=yes state=installed - with_items: - - dovecot-core - - dovecot-imapd - - dovecot-lmtpd - - dovecot-antispam + apt: + update_cache: yes + state: present + name: + - dovecot-core + - dovecot-imapd + - dovecot-lmtpd + - dovecot-antispam tags: - dependencies |