Commit 5ecf02aa by Edward Zarecor

uncommenting code, builds working

parent c0641019
......@@ -94,18 +94,18 @@
# 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
# environment where untrusted users can submit code
#- name: put code jail into aa-complain
# command: /usr/sbin/aa-complain "/etc/apparmor.d/code.jail.{{ item.QUEUE_CONFIG.HANDLERS[0].CODEJAIL.name }}"
# when: CODE_JAIL_COMPLAIN|bool
# with_items: XQWATCHER_COURSES
# # AA having issues on 14.04
# # https://github.com/edx/codejail/issues/38
# tags:
# - removed
- name: put code jail into aa-complain
command: /usr/sbin/aa-complain "/etc/apparmor.d/code.jail.{{ item.QUEUE_CONFIG.HANDLERS[0].CODEJAIL.name }}"
when: CODE_JAIL_COMPLAIN|bool
with_items: XQWATCHER_COURSES
# AA having issues on 14.04
# https://github.com/edx/codejail/issues/38
tags:
- removed
# - 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
- 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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment