暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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