Commit 10dc4a94 by Feanil Patel

Get rid of secure_dir, this hasn't been a thing for a while.

parent ae3de3fd
...@@ -46,12 +46,8 @@ ...@@ -46,12 +46,8 @@
- name: Set sandbox limits - name: Set sandbox limits
template: template:
src: "{{ item }}" src: "sandbox.conf.j2"
dest: "/etc/security/limits.d/sandbox.conf" dest: "/etc/security/limits.d/sandbox.conf"
with_first_found:
- files:
- "{{ secure_dir }}/sandbox.conf.j2"
- "sandbox.conf.j2"
- name: Install system dependencies of xserver - name: Install system dependencies of xserver
apt: apt:
...@@ -61,12 +57,8 @@ ...@@ -61,12 +57,8 @@
- name: Load python-sandbox apparmor profile - name: Load python-sandbox apparmor profile
template: template:
src: "{{ item }}" src: "usr.bin.python-sandbox.j2"
dest: "/etc/apparmor.d/edx_apparmor_sandbox" dest: "/etc/apparmor.d/edx_apparmor_sandbox"
with_first_found:
-files:
- "{{ secure_dir }}/files/edx_apparmor_sandbox.j2"
- "usr.bin.python-sandbox.j2"
- include: deploy.yml - include: deploy.yml
tags: tags:
......
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