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
806188ad
Commit
806188ad
authored
Oct 17, 2016
by
Kevin Falcone
Committed by
GitHub
Oct 17, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3422 from edx/jibsheet/disable-automated-upgrade-16.04
Jibsheet/disable automated upgrade 16.04
parents
0e9d7723
83a0319e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
playbooks/roles/security/tasks/security-ubuntu.yml
+8
-2
playbooks/roles/xqwatcher/tasks/code_jail.yml
+2
-0
No files found.
playbooks/roles/security/tasks/security-ubuntu.yml
View file @
806188ad
...
...
@@ -22,6 +22,13 @@
mode
:
"
0644"
when
:
SECURITY_UNATTENDED_UPGRADES
-
name
:
Disable unattended-upgrades if Xenial (16.04)
command
:
"
{{
item
}}"
when
:
ansible_distribution_release == 'xenial' and not SECURITY_UNATTENDED_UPGRADES
with_items
:
-
"
systemctl
disable
apt-daily.service"
-
"
systemctl
disable
apt-daily.timer"
-
name
:
Disable unattended-upgrades
file
:
path
:
"
/etc/apt/apt.conf.d/10periodic"
...
...
@@ -85,4 +92,4 @@
name
:
libc6
state
:
latest
update_cache
:
yes
when
:
"
'vulnerable'
in
test_ghost_vuln.stdout"
\ No newline at end of file
when
:
"
'vulnerable'
in
test_ghost_vuln.stdout"
playbooks/roles/xqwatcher/tasks/code_jail.yml
View file @
806188ad
...
...
@@ -15,6 +15,8 @@
# Do this first so symlinks can be resolved in the next step
-
name
:
Create jail virtualenv
shell
:
"
/usr/local/bin/virtualenv
--python={{
item.PYTHON_EXECUTABLE
}}
--no-site-packages
{{
xqwatcher_app_dir
}}/venvs/{{
item.QUEUE_CONFIG.HANDLERS[0].CODEJAIL.name
}}"
args
:
creates
:
"
{{
xqwatcher_app_dir
}}/venvs/{{
item.QUEUE_CONFIG.HANDLERS[0].CODEJAIL.name
}}/bin/pip"
with_items
:
"
{{
XQWATCHER_COURSES
}}"
tags
:
-
install
...
...
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