Mailman: sudo requires a tty
This commit is contained in:
parent
42c77051f4
commit
d4ca13001a
1 changed files with 1 additions and 1 deletions
|
@ -225,7 +225,7 @@
|
||||||
- restart postfix
|
- restart postfix
|
||||||
|
|
||||||
- name: create the postfix aliases
|
- name: create the postfix aliases
|
||||||
command: sudo -u mailman mailman3 aliases
|
command: su mailman -s /bin/sh -c "mailman3 aliases"
|
||||||
creates=/var/lib/mailman3/data/postfix_lmtp.db
|
creates=/var/lib/mailman3/data/postfix_lmtp.db
|
||||||
|
|
||||||
# Memcached
|
# Memcached
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue