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
5ecf02aa
Commit
5ecf02aa
authored
Dec 30, 2015
by
Edward Zarecor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
uncommenting code, builds working
parent
c0641019
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
playbooks/roles/xqwatcher/tasks/code_jail.yml
+14
-14
No files found.
playbooks/roles/xqwatcher/tasks/code_jail.yml
View file @
5ecf02aa
...
@@ -94,18 +94,18 @@
...
@@ -94,18 +94,18 @@
# Leaves aa in either complain or enforce depending upon the value of the
# Leaves aa in either complain or enforce depending upon the value of the
# CODE_JAIL_COMPLAIN var. Complain mode should never be run in an
# CODE_JAIL_COMPLAIN var. Complain mode should never be run in an
# environment where untrusted users can submit code
# environment where untrusted users can submit code
#
- name: put code jail into aa-complain
-
name
:
put code jail into aa-complain
#
command: /usr/sbin/aa-complain "/etc/apparmor.d/code.jail.{{ item.QUEUE_CONFIG.HANDLERS[0].CODEJAIL.name }}"
command
:
/usr/sbin/aa-complain "/etc/apparmor.d/code.jail.{{ item.QUEUE_CONFIG.HANDLERS[0].CODEJAIL.name }}"
#
when: CODE_JAIL_COMPLAIN|bool
when
:
CODE_JAIL_COMPLAIN|bool
#
with_items: XQWATCHER_COURSES
with_items
:
XQWATCHER_COURSES
#
# AA having issues on 14.04
# AA having issues on 14.04
#
# https://github.com/edx/codejail/issues/38
# https://github.com/edx/codejail/issues/38
#
tags:
tags
:
#
- removed
-
removed
#
- name: put code sandbox into aa-enforce
-
name
:
put code sandbox into aa-enforce
#
command: /usr/sbin/aa-enforce "/etc/apparmor.d/code.jail.{{ item.QUEUE_CONFIG.HANDLERS[0].CODEJAIL.name }}"
command
:
/usr/sbin/aa-enforce "/etc/apparmor.d/code.jail.{{ item.QUEUE_CONFIG.HANDLERS[0].CODEJAIL.name }}"
#
when: not CODE_JAIL_COMPLAIN|bool
when
:
not CODE_JAIL_COMPLAIN|bool
#
with_items: XQWATCHER_COURSES
with_items
:
XQWATCHER_COURSES
#
tags:
tags
:
#
- removed
-
removed
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