Ansible roles
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.

14 lines
280 B

- type: log
enabled: True
paths:
{% if ansible_os_family == 'RedHat' %}
- /var/log/yum.log
{% elif ansible_os_family == 'Debian' %}
- /var/log/dpkg.log
- /var/log/apt/*.log
- /var/log/alternatives.log
{% endif %}
exclude_files:
- '\.[gx]z$'
- '\d+$'