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
edx
configuration
Commits
99dc0520
Unverified
Commit
99dc0520
authored
Jul 06, 2016
by
arbabnazar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adding the leading zero in mode leaving off will likely have unexpected results
parent
0db03587
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
playbooks/roles/common/tasks/main.yml
+6
-5
No files found.
playbooks/roles/common/tasks/main.yml
View file @
99dc0520
...
...
@@ -9,7 +9,8 @@
when
:
update_ca_certificates is defined and update_ca_certificates.stat.exists == True
# ec2-linux
-
stat
:
path=/usr/bin/update-ca-trust
-
stat
:
path
:
/usr/bin/update-ca-trust
register
:
update_ca_trust
-
name
:
Update CA Trust
...
...
@@ -77,7 +78,7 @@
state
:
"
{{
item.state
|
default('directory')
}}"
owner
:
"
{{
item.owner
|
default('root')
}}"
group
:
"
{{
item.group
|
default('root')
}}"
mode
:
0755
mode
:
"
0755"
with_items
:
"
{{
common_directories
}}"
-
name
:
upload sudo config for key forwarding as root
...
...
@@ -87,7 +88,7 @@
validate
:
'
visudo
-c
-f
%s'
owner
:
root
group
:
root
mode
:
0440
mode
:
"
0440"
-
name
:
pip install virtualenv
pip
:
...
...
@@ -122,12 +123,12 @@
src
:
"
{{
item.src
}}"
owner
:
root
group
:
root
mode
:
"
{{
item.mode
|
default(644)
}}"
mode
:
"
{{
item.mode
|
default(
0
644)
}}"
register
:
config_templates
with_items
:
-
{
src
:
'
edx_rsyslog.j2'
,
dest
:
'
/etc/rsyslog.d/99-edx.conf'
}
-
{
src
:
'
etc/logrotate.d/hourly/edx_logrotate.j2'
,
dest
:
'
/etc/logrotate.d/hourly/edx-services'
}
-
{
src
:
'
etc/cron.hourly/logrotate.j2'
,
dest
:
'
/etc/cron.hourly/logrotate'
,
mode
:
'
555'
}
-
{
src
:
'
etc/cron.hourly/logrotate.j2'
,
dest
:
'
/etc/cron.hourly/logrotate'
,
mode
:
'
0
555'
}
-
{
src
:
'
etc/logrotate.d/hourly/edx_logrotate_tracking_log.j2'
,
dest
:
'
/etc/logrotate.d/hourly/tracking.log'
}
# TODO: restarts no matter which template has changed, need to examine
...
...
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