説明なし
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

logwatch.yml 310B

12345
  1. - name: Install logwatch
  2. apt: pkg=logwatch state=installed
  3. - name: Configure logwatch to email {{ admin_email }} daily
  4. action: lineinfile dest=/etc/cron.daily/00logwatch regexp="^/usr/sbin/logwatch" line="/usr/sbin/logwatch --output mail --mailto {{ admin_email }} --detail high" state=present create=yes