File tree 1 file changed +41
-0
lines changed
1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+
3
+ argument_specs :
4
+ main :
5
+ short_description : " Install and configure logrotate on your system."
6
+ description : >
7
+ Install and configure logrotate on your system.
8
+ author : Robert de Bock
9
+ options :
10
+ logrotate_frequency :
11
+ type : str
12
+ description : " How often to rotate logs, either daily, weekly or monthly."
13
+ default : " weekly"
14
+ logrotate_keep :
15
+ type : int
16
+ description : " How many files to keep."
17
+ default : 4
18
+ logrotate_compress :
19
+ type : bool
20
+ description : " Should rotated logs be compressed??"
21
+ default : true
22
+ logrotate_dateext :
23
+ type : bool
24
+ description : " Use date extension on log file names"
25
+ default : false
26
+ logrotate_user :
27
+ type : str
28
+ description : " User for rotated log files. Automatically determined, but overridable."
29
+ default : " root"
30
+ logrotate_group :
31
+ type : str
32
+ description : " Group for rotated log files. Automatically determined, but overridable."
33
+ default : " root"
34
+ logrotate_service_state :
35
+ type : str
36
+ description : " Set the state of the service."
37
+ default : " started"
38
+ logrotate_service_enabled :
39
+ type : bool
40
+ description : " Set the enabled state the service."
41
+ default : true
You can’t perform that action at this time.
0 commit comments