No Description
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 435B

1234567891011121314
  1. - name: Install logwatch
  2. apt: pkg={{ item }} state=installed
  3. with_items:
  4. - logwatch
  5. - libdate-manip-perl
  6. - name: Configure logwatch
  7. template: src=etc_logwatch_conf_logwatch.conf.j2 dest=/etc/logwatch/conf/logwatch.conf
  8. - name: Remove logwatch's dist cronjob
  9. file: state=absent path=/etc/cron.daily/00logwatch
  10. - name: Configure weekly logwatch cronjob
  11. cron: special_time=weekly job=/usr/sbin/logwatch name=logwatch