mail: use list instead of with_items

This commit is contained in:
Markus 2020-11-13 18:24:23 +01:00
parent cf52cc9932
commit b3b5129cc4

View File

@ -7,23 +7,23 @@
apt_repository: repo="deb http://rspamd.com/apt-stable/ {{ ansible_distribution_release }} main"
- name: Install packages
apt: name={{ item }}
with_items:
- bsd-mailx
- dovecot-core
- dovecot-imapd
- dovecot-lmtpd
- dovecot-ldap
- dovecot-managesieved
- dovecot-sieve
- fcgiwrap
- mailman
- mailman3
- postfix
- postsrsd
- redis-server
- redis-tools
- rspamd
apt:
name:
- bsd-mailx
- dovecot-core
- dovecot-imapd
- dovecot-lmtpd
- dovecot-ldap
- dovecot-managesieved
- dovecot-sieve
- fcgiwrap
- mailman
- mailman3
- postfix
- postsrsd
- redis-server
- redis-tools
- rspamd
- name: Create vmail group
group: name=vmail gid=500 state=present