diff --git a/files/etc_logrotate_d_haproxy b/files/etc_logrotate_d_haproxy index 6a5ca69d7ce32d6a6d48d36b0ece32ea3a38e90c..7cb3a7be151308eb0c615973ea6c77d7738b771a 100644 --- a/files/etc_logrotate_d_haproxy +++ b/files/etc_logrotate_d_haproxy @@ -1,11 +1,11 @@ /var/log/haproxy { - daily - rotate 7 - delaycompress - compress - notifempty - missingok - postrotate - service haproxy restart > /dev/null - endscript + daily + rotate 7 + delaycompress + compress + notifempty + missingok + postrotate + service haproxy restart > /dev/null + endscript } diff --git a/tasks/install.yml b/tasks/install.yml index 845723f915b1b21cedb3cbd73ad6d910400c571f..280c1e6f8a8126864b281c651f3106ef472954c7 100644 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -42,6 +42,7 @@ owner='root' group='root' mode='644' + tags: 'logrotate' - name: "Install script to read socket" template: