This commit is contained in:
parent
e497f6e421
commit
5ea60e199e
@ -14,14 +14,14 @@
|
||||
path: /etc/postfix/smtp_auth.db
|
||||
register: __authdb
|
||||
|
||||
- name: Create sasl_passwd.db
|
||||
- name: Create smtp_auth.db
|
||||
command: /usr/sbin/postmap hash:/etc/postfix/smtp_auth
|
||||
when: not __authdb.stat.exists or __auth_result.changed
|
||||
notify: __postfix_restart
|
||||
|
||||
- name: Set permissions for sasl_passwd.db
|
||||
- name: Set permissions for smtp_auth.db
|
||||
file:
|
||||
path: /etc/postfix/sasl_passwd.db
|
||||
path: /etc/postfix/smtp_auth.db
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0600
|
||||
|
Loading…
Reference in New Issue
Block a user