role fix mailserver userid vs. postfix

This commit is contained in:
Martin Geno 2016-12-12 00:30:56 +01:00
parent 1759eb5136
commit 68392c3b5f
1 changed files with 2 additions and 2 deletions

View File

@ -12,10 +12,10 @@
- 465/udp
- name: Create vmail group
group: name=vmail state=present
group: name=vmail state=present gid=5000
- name: Create vmail user
user: name=vmail group=vmail shell=/usr/bin/nologin home={{mail_homedir}}
user: name=vmail group=vmail shell=/usr/bin/nologin home={{mail_homedir}} uid=5000
- name: Create homedir
file: path={{mail_homedir}} state=directory mode=770 owner=vmail group=vmail