evolinux: fix rotate value customization
with "[0-9]*" too much lines would be changed
This commit is contained in:
parent
58dd5c3817
commit
664a926caa
|
@ -27,7 +27,7 @@
|
|||
- name: Configure logrotate.conf
|
||||
replace:
|
||||
dest: /etc/logrotate.conf
|
||||
regexp: "rotate [0-9]*"
|
||||
regexp: "rotate [0-9]+"
|
||||
replace: "rotate 12"
|
||||
when: evolinux_logs_default_rotate
|
||||
|
||||
|
|
Loading…
Reference in a new issue