role fix mailserver userid vs. postfix
This commit is contained in:
parent
1759eb5136
commit
68392c3b5f
|
@ -12,10 +12,10 @@
|
||||||
- 465/udp
|
- 465/udp
|
||||||
|
|
||||||
- name: Create vmail group
|
- name: Create vmail group
|
||||||
group: name=vmail state=present
|
group: name=vmail state=present gid=5000
|
||||||
|
|
||||||
- name: Create vmail user
|
- 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
|
- name: Create homedir
|
||||||
file: path={{mail_homedir}} state=directory mode=770 owner=vmail group=vmail
|
file: path={{mail_homedir}} state=directory mode=770 owner=vmail group=vmail
|
||||||
|
|
Reference in New Issue