evolinux: fix rotate value customization

with "[0-9]*" too much lines would be changed
This commit is contained in:
Jérémy Lecour 2017-03-30 14:56:29 +02:00 committed by Jérémy Lecour
parent 58dd5c3817
commit 664a926caa

View file

@ -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