Last active
August 20, 2018 10:29
-
-
Save VinayKumarKnol/f6cc6ba42d8cc1d7c9deadf34f1751fb to your computer and use it in GitHub Desktop.
for log rotation configuration through ansible
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% for log_location in locations %} | |
{{ log_location }}{ | |
{{ period }} | |
rotate {{ rotate_count }} | |
size {{ size_threshold }} | |
compress | |
copytruncate | |
missingok | |
} | |
{% endfor %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment