๐Ÿ“— Ansible playbooks and roles for building an idempotent, interconnected and scalable infrastructure
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.
 
 
ansible-playbooks/roles/logrotate/templates/logrotate.j2

18 lines
387 B

{% for dir in (logrotate_default_directives | d({})) -%}
{{ dir | lower }}
{% endfor %}
{% for dir in (logrotate_directives | d({})) -%}
{{ dir | lower }}
{% endfor %}
{% for option in (logrotate_cfg | d({}) | dict2items) -%}
{{ option.key | lower }} {{ option.value }}
{% endfor %}
{{ logrotate_schedule | d('weekly') }}
tabooext + .apk-new
include {{ logrotate_conf_dir }}