mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-29 13:01:36 +08:00
[mailman3] Fix the ownership of log file
Both become and become_user needs to be set to work. So the script was executed as root which caused the hyperkitty log file to be created with root owner. Signed-off-by: Michal Konecny <mkonecny@redhat.com>
This commit is contained in:
@@ -301,6 +301,7 @@
|
||||
cmd: mailman-web migrate
|
||||
chdir: /etc/mailman3
|
||||
become_user: mailman
|
||||
become: true
|
||||
tags:
|
||||
- mailman
|
||||
- db
|
||||
@@ -341,6 +342,7 @@
|
||||
cmd: mailman-web collectstatic --no-input
|
||||
chdir: /etc/mailman3
|
||||
become_user: mailman
|
||||
become: true
|
||||
tags:
|
||||
- mailman
|
||||
- hyperkitty
|
||||
@@ -352,6 +354,7 @@
|
||||
cmd: mailman-web compress
|
||||
chdir: /etc/mailman3
|
||||
become_user: mailman
|
||||
become: true
|
||||
tags:
|
||||
- mailman
|
||||
- hyperkitty
|
||||
|
||||
Reference in New Issue
Block a user