Skip to content
Snippets Groups Projects
Verified Commit 8fd7a20a authored by nd's avatar nd
Browse files

fix logrotate

parent 3a52a115
No related branches found
No related tags found
No related merge requests found
...@@ -74,3 +74,10 @@ ...@@ -74,3 +74,10 @@
mode: 0644 mode: 0644
notify: notify:
- restart php-fpm - restart php-fpm
- name: patch logrotate to fix permissions
lineinfile:
path: "/etc/logrotate.d/php{{ php_version }}-fpm"
regexp: '^create 0640 root adm'
insertafter: '/var/log/php7.3-fpm.log {'
line: "create 0640 root adm"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment