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

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