Authored by chunhua.zhang

add

... ... @@ -23,6 +23,9 @@
- logrotate
tasks:
- name: remove existed precated crontab
shell: "crontab -u root -l |grep -v 'logrotate' |crontab -u root -"
- name: create cron jobs for logrotate
cron:
name: "rotate for java nginx logs"
... ...