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
9436205f
Commit
9436205f
authored
Feb 29, 2016
by
Calen Pennington
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use a subdirectory for the harprofiler source code
parent
f458a3c0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
playbooks/roles/harprofiler/tasks/main.yml
+3
-3
playbooks/roles/harprofiler/templates/validate_harprofiler_install.sh.j2
+1
-1
No files found.
playbooks/roles/harprofiler/tasks/main.yml
View file @
9436205f
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
-
name
:
check out the harprofiler
-
name
:
check out the harprofiler
git
:
git
:
dest
:
"
{{
harprofiler_dir
}}"
dest
:
"
{{
harprofiler_dir
}}
/harprofiler
"
repo
:
"
{{
harprofiler_github_url
}}"
repo
:
"
{{
harprofiler_github_url
}}"
version
:
"
{{
harprofiler_version
}}"
version
:
"
{{
harprofiler_version
}}"
accept_hostkey
:
yes
accept_hostkey
:
yes
...
@@ -54,7 +54,7 @@
...
@@ -54,7 +54,7 @@
-
name
:
install requirements
-
name
:
install requirements
pip
:
pip
:
requirements
:
"
{{
harprofiler_dir
}}/requirements.txt"
requirements
:
"
{{
harprofiler_dir
}}/
harprofiler/
requirements.txt"
virtualenv
:
"
{{
harprofiler_venv_dir
}}"
virtualenv
:
"
{{
harprofiler_venv_dir
}}"
sudo_user
:
"
{{
harprofiler_user
}}"
sudo_user
:
"
{{
harprofiler_user
}}"
tags
:
tags
:
...
@@ -65,7 +65,7 @@
...
@@ -65,7 +65,7 @@
# harprofiler ships with a default config file. Doing a line-replace for the default
# harprofiler ships with a default config file. Doing a line-replace for the default
# configuration that does not match what this machine will have
# configuration that does not match what this machine will have
lineinfile
:
lineinfile
:
dest
:
"
{{
harprofiler_dir
}}/config.yaml"
dest
:
"
{{
harprofiler_dir
}}/
harprofiler/
config.yaml"
regexp
:
"
browsermob_dir"
regexp
:
"
browsermob_dir"
line
:
"
browsermob_dir:
{{
harprofiler_browsermob_dir
}}"
line
:
"
browsermob_dir:
{{
harprofiler_browsermob_dir
}}"
state
:
present
state
:
present
...
...
playbooks/roles/harprofiler/templates/validate_harprofiler_install.sh.j2
View file @
9436205f
...
@@ -4,6 +4,6 @@
...
@@ -4,6 +4,6 @@
# This script confirms that harprofiler can successfully run on the
# This script confirms that harprofiler can successfully run on the
# target machine.
# target machine.
source
{{
harprofiler_venv_dir
}}
/bin/activate
source
{{
harprofiler_venv_dir
}}
/bin/activate
cd
{{
harprofiler_dir
}}
cd
{{
harprofiler_dir
}}
/harprofiler
python harprofiler.py
python harprofiler.py
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