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
|
- name: Configure logrotate.conf
|
||||||
replace:
|
replace:
|
||||||
dest: /etc/logrotate.conf
|
dest: /etc/logrotate.conf
|
||||||
regexp: "rotate [0-9]*"
|
regexp: "rotate [0-9]+"
|
||||||
replace: "rotate 12"
|
replace: "rotate 12"
|
||||||
when: evolinux_logs_default_rotate
|
when: evolinux_logs_default_rotate
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue