mail: use list instead of with_items
This commit is contained in:
parent
cf52cc9932
commit
b3b5129cc4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user