瀏覽代碼

add logrotate task

Norman S. 11 年之前
父節點
當前提交
d8153552b8
共有 1 個檔案被更改,包括 4 行新增1 行删除
  1. 4
    1
      roles/mailserver/tasks/z-push.yml

+ 4
- 1
roles/mailserver/tasks/z-push.yml 查看文件

35
 
35
 
36
 - name: Configure z-push apache alias and php settings
36
 - name: Configure z-push apache alias and php settings
37
   copy: src=etc_apache2_conf.d_z-push.conf dest=/etc/apache2/conf.d/z-push.conf
37
   copy: src=etc_apache2_conf.d_z-push.conf dest=/etc/apache2/conf.d/z-push.conf
38
-  notify: restart apache
38
+  notify: restart apache
39
+  
40
+- name: Configure z-push logrotate
41
+  copy: src=etc_logrotate_z-push dest=/etc/logrotate.d/z-push owner=root group=root mode=0644

Loading…
取消
儲存