1
0
forked from infra/ansible

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