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
edx
configuration
Commits
57433cb2
Commit
57433cb2
authored
Jun 18, 2013
by
Feanil Patel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update jinja templating.
parent
1e7ae9de
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
playbooks/roles/xserver/tasks/main.yml
+5
-5
No files found.
playbooks/roles/xserver/tasks/main.yml
View file @
57433cb2
...
...
@@ -8,7 +8,7 @@
user
:
name=sandbox group=sandbox
-
name
:
create sandbox python directory
file
:
path={{ sandbox_venv_dir }} owner=ubuntu group=adm moe=2775 state=directory
file
:
path={{ sandbox_venv_dir }} owner=ubuntu group=adm mo
d
e=2775 state=directory
-
name
:
create sandbox python
command
:
/usr/local/bin/virtualenv {{ sandbox_venv_dir }} --distribute creates={{ sandbox_venv_dir }}/bin/activate
...
...
@@ -26,8 +26,8 @@
-
name
:
set sandbox limits
copy
:
src={{ item }} dest=/etc/security/limits.d/sandbox.conf
first_available_file
:
-
{{
secure_dir
}}
/sandbox.conf
-
sandbox.conf
-
"
{{
secure_dir
}}/sandbox.conf"
-
"
sandbox.conf"
-
name
:
ensure apparmor package
apt
:
pkg=apparmor-utils state=present
...
...
@@ -35,8 +35,8 @@
-
name
:
load python-sandbox apparmor profile
template
:
src={{ item }} dest=/etc/apparmor.d/edx_apparmor_sandbox
first_available_file
:
-
{{
secure_dir
}}
/files/edx_apparmor_sandbox.j2
-
usr.bin.python-sandbox.j2
-
"
{{
secure_dir
}}/files/edx_apparmor_sandbox.j2"
-
"
usr.bin.python-sandbox.j2"
-
name
:
enforce app-armor rules
command
:
aa-enforce {{ sandbox_venv_dir }}
...
...
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