journald.yml 410 B

123456789101112131415161718192021222324
  1. ---
  2. - name: restart journald
  3. service: name=systemd-journald state=restarted
  4. - name: remove syslog files
  5. file: path=/var/log/{{ item }} state=absent
  6. with_items:
  7. - auth.log
  8. - syslog
  9. - cron.log
  10. - daemon.log
  11. - kern.log
  12. - lpr.log
  13. - mail.log
  14. - user.log
  15. - mail.info
  16. - mail.warn
  17. - mail.err
  18. - news.crit
  19. - news.err
  20. - news.notice
  21. - debug
  22. - messages