aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools
diff options
context:
space:
mode:
Diffstat (limited to 'resources/tools')
-rw-r--r--resources/tools/testbed-setup/playbooks/01-host-setup.yaml12
l---------resources/tools/testbed-setup/playbooks/files/requirements.txt1
2 files changed, 10 insertions, 3 deletions
diff --git a/resources/tools/testbed-setup/playbooks/01-host-setup.yaml b/resources/tools/testbed-setup/playbooks/01-host-setup.yaml
index f2822d285a..de32beb361 100644
--- a/resources/tools/testbed-setup/playbooks/01-host-setup.yaml
+++ b/resources/tools/testbed-setup/playbooks/01-host-setup.yaml
@@ -45,6 +45,10 @@
remote_user: testuser
sudo: yes
tasks:
+ - name: Install python-dev
+ apt: name=python-dev state=present
+ - name: Install python-virtualenv
+ apt: name=python-virtualenv state=present
- name: Install cpufrequtils
apt: name=cpufrequtils state=present
- name: Set cpufrequtils defaults
@@ -52,13 +56,15 @@
- name: Disable IRQ load balancing
copy: src=files/irqbalance dest=/etc/default/irqbalance owner=root group=root mode=0644
- name: Disable ondemand
- shell: update-rc.d ondemand disable
- - name: Install 4.2 kernel
- apt: name=linux-generic-lts-xenial state=present
+ service: name=ondemand enabled=no
- name: Install cgroup-support
apt: name=cgroup-bin state=present
- name: Install zlib1g-dev
apt: name=zlib1g-dev state=present
+ - name: Copy Python requirements file
+ copy: src=files/requirements.txt dest=/tmp/requirements.txt
+ - name: Install PIP requirements
+ pip: requirements=/tmp/requirements.txt
- hosts: tg
remote_user: testuser
sudo: yes
diff --git a/resources/tools/testbed-setup/playbooks/files/requirements.txt b/resources/tools/testbed-setup/playbooks/files/requirements.txt
new file mode 120000
index 0000000000..f96397df02
--- /dev/null
+++ b/resources/tools/testbed-setup/playbooks/files/requirements.txt
@@ -0,0 +1 @@
+../../../../../requirements.txt \ No newline at end of file