logrotate.d.j2 323 B

12345678910111213141516
  1. # {{ ansible_managed }}
  2. {{ item.path }} {
  3. {% if item.options is defined -%}
  4. {% for option in item.options -%}
  5. {{ option }}
  6. {% endfor -%}
  7. {% endif %}
  8. {%- if item.scripts is defined -%}
  9. {%- for name, script in item.scripts.items() -%}
  10. {{ name }}
  11. {{ script }}
  12. endscript
  13. {% endfor -%}
  14. {% endif -%}
  15. }