설명 없음
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

logwatch.yml 614B

1234567891011121314151617181920
  1. - name: Install logwatch
  2. apt: pkg={{ item }} state=present
  3. with_items:
  4. - libdate-manip-perl
  5. - logwatch
  6. tags:
  7. - dependencies
  8. - name: Configure logwatch
  9. template: src=etc_logwatch_conf_logwatch.conf.j2 dest=/etc/logwatch/conf/logwatch.conf
  10. - name: Configure rspamd to let logs through
  11. template: src=etc_rspamd_rspamd.conf.local.j2 dest=/etc/rspamd/rspamd.conf.local
  12. notify: restart rspamd
  13. - name: Remove logwatch's dist cronjob
  14. file: state=absent path=/etc/cron.daily/00logwatch
  15. - name: Configure weekly logwatch cronjob
  16. cron: special_time=weekly job=/usr/sbin/logwatch name=logwatch