설명 없음
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 462B

12345678910111213141516
  1. - name: Install logwatch
  2. apt: pkg={{ item }} state=installed
  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: Remove logwatch's dist cronjob
  11. file: state=absent path=/etc/cron.daily/00logwatch
  12. - name: Configure weekly logwatch cronjob
  13. cron: special_time=weekly job=/usr/sbin/logwatch name=logwatch