Commit e5e12ca6 by Calen Pennington

Install system requirements and use a configurable browsermob_dir

parent cbf7bb9f
......@@ -12,3 +12,6 @@ harprofiler_version: master
harprofiler_dir: /edx/app/harprofiler
harprofiler_venv_dir: "{{ harprofiler_dir }}/venvs/harprofiler"
harprofiler_validation_script: validate_harprofiler_install.sh
harprofiler_apt_requirements:
- xfvb
harprofiler_browsermob_dir: /usr/local
......@@ -42,6 +42,16 @@
- install
- install:configuration
- name: install system requirements
apt:
name: "{{ item }}"
update_cache: yes
cache_valid_time: 3600
with_items: "{{ harprofiler_apt_requirements }}"
tags:
- install
- install:system-requirements
- name: install requirements
pip:
requirements: "{{ harprofiler_dir }}/requirements.txt"
......@@ -57,7 +67,7 @@
lineinfile:
dest: "{{ harprofiler_dir }}/config.yaml"
regexp: "browsermob_dir"
line: "browsermob_dir: /usr/local"
line: "browsermob_dir: {{ harprofiler_browsermob_dir }}"
state: present
tags:
- install
......
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