We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9fad5a commit 45d4d71Copy full SHA for 45d4d71
roles/system/defaults/main.yml
@@ -15,3 +15,6 @@ timezone_use_local_rtc: false
15
16
system_locale: "en_US.UTF-8"
17
system_language: "en_US.UTF-8"
18
+
19
+traefik_max_log_size: 10M
20
+saltbox_max_log_size: 2M
roles/system/tasks/subtasks/logrotate.yml
@@ -31,7 +31,7 @@
31
/srv/git/saltbox/saltbox.log {
32
weekly
33
rotate 0
34
- size 2M
+ size {{ saltbox_max_log_size }}
35
missingok
36
notifempty
37
create 644 {{ user.name }} {{ user.name }}
@@ -40,7 +40,7 @@
40
content: |
41
/opt/traefik/*.log {
42
rotate 5
43
- size 10M
+ size {{ traefik_max_log_size }}
44
45
46
postrotate
0 commit comments