Skip to content
Snippets Groups Projects
Commit db742ae6 authored by jurgenhaas's avatar jurgenhaas
Browse files

ansible-inventories/gentner#2346 Force an initial logrotate after installing a new PHP FPM version

parent 63415e03
No related branches found
No related tags found
No related merge requests found
...@@ -5,3 +5,6 @@ ...@@ -5,3 +5,6 @@
service: service:
name: '{{ phpFpmService }}' name: '{{ phpFpmService }}'
state: restarted state: restarted
- name: Initial Logrotate
shell: logrotate -f /etc/logrotate.d/php{{ phpLogRotatePrefix }}-fpm
...@@ -184,6 +184,8 @@ ...@@ -184,6 +184,8 @@
owner: root owner: root
group: root group: root
mode: 0644 mode: 0644
notify:
- Initial Logrotate
when: php_fpm when: php_fpm
tags: tags:
- logrotate - logrotate
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment