Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ops
/
yoho-ansible-roles
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
chunhua.zhang
2019-03-08 10:22:56 +0800
Commit
c4dd51b7ce7f07a6bdf61f324282dca84325d91b
1 parent
87552573
add
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
playbooks/java.nginx.lograte.yml
playbooks/java.nginx.lograte.yml
View file @
c4dd51b
...
...
@@ -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"
...
...
Please
register
or
login
to post a comment