Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
configuration
Commits
c26db020
Commit
c26db020
authored
Jun 26, 2014
by
Feanil Patel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update logrotate and remove tasks that are no longer needed.
parent
2b7dcac0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
13 deletions
+5
-13
playbooks/roles/common/tasks/main.yml
+5
-13
No files found.
playbooks/roles/common/tasks/main.yml
View file @
c26db020
...
...
@@ -60,21 +60,17 @@
owner=root group=root mode=644
notify
:
restart rsyslogd
# This is in common to keep all logrotation config
# in the same role
-
name
:
Create hourly subdirectory in logrotate.d
file
:
path=/etc/logrotate.d/hourly state=directory
-
name
:
Install logrotate configuration for edX
template
:
>
dest=/etc/logrotate.d/hourly/edx-services
src=etc/logrotate.d/hourly/edx_logrotate.j2
owner=root group=root mode=644
# This can be removed after new release of edX
-
name
:
Remove old edx-services config from /etc/logrotate.d
file
:
path=/etc/logrotate.d/edx-services state=absent
# This is in common to keep all logrotation config
# in the same role
-
name
:
Create hourly subdirectory in logrotate.d
file
:
path=/etc/logrotate.d/hourly state=directory
-
name
:
Install logrotate configuration for tracking file
template
:
>
dest=/etc/logrotate.d/hourly/tracking.log
...
...
@@ -87,10 +83,6 @@
src=etc/cron.hourly/logrotate
owner=root group=root mode=555
# This can be removed after new release of edX
-
name
:
Remove old tracking.log config from /etc/logrotate.d
file
:
path=/etc/logrotate.d/tracking.log state=absent
-
name
:
update /etc/hosts
template
:
src=hosts.j2 dest=/etc/hosts
when
:
COMMON_HOSTNAME
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment