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
ab195c64
Commit
ab195c64
authored
9 years ago
by
Edward Zarecor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updating tags
parent
5ecf02aa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
playbooks/roles/xqwatcher/tasks/code_jail.yml
+8
-4
No files found.
playbooks/roles/xqwatcher/tasks/code_jail.yml
View file @
ab195c64
...
...
@@ -39,8 +39,8 @@
command
:
/usr/sbin/aa-complain "/etc/apparmor.d/code.jail.{{ item.QUEUE_CONFIG.HANDLERS[0].CODEJAIL.name }}"
with_items
:
XQWATCHER_COURSES
tags
:
-
disable-install
-
disable-install:base
-
manage
-
manage:sandbox
-
name
:
create jail virtualenv
shell
:
>
...
...
@@ -83,12 +83,14 @@
service
:
name=apparmor state=started
tags
:
-
manage
-
manage:sandbox
-
name
:
load code sandbox profile
command
:
apparmor_parser -r "/etc/apparmor.d/code.jail.{{ item.QUEUE_CONFIG.HANDLERS[0].CODEJAIL.name }}"
with_items
:
XQWATCHER_COURSES
tags
:
-
manage
-
manage:sandbox
#
# Leaves aa in either complain or enforce depending upon the value of the
...
...
@@ -101,11 +103,13 @@
# AA having issues on 14.04
# https://github.com/edx/codejail/issues/38
tags
:
-
removed
-
manage
-
manage:sandbox
-
name
:
put code sandbox into aa-enforce
command
:
/usr/sbin/aa-enforce "/etc/apparmor.d/code.jail.{{ item.QUEUE_CONFIG.HANDLERS[0].CODEJAIL.name }}"
when
:
not CODE_JAIL_COMPLAIN|bool
with_items
:
XQWATCHER_COURSES
tags
:
-
removed
-
manage
-
manage:sandbox
This diff is collapsed.
Click to expand it.
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