diff options
author | Carsten Koester <ckoester@cisco.com> | 2016-06-11 16:32:56 -0400 |
---|---|---|
committer | pmikus <pmikus@cisco.com> | 2016-10-04 08:27:16 +0100 |
commit | 9ac28a0341f378009bd0af9d8a80ed86463f085f (patch) | |
tree | 27b79fb317e43550ff7dd3eb4fcef358541cf495 /resources | |
parent | 5dc98f39c227fb09ce59caa38d28f0dba8558e4b (diff) |
CSIT-157: HW testbed installation scripts to include PIP requirements
Change-Id: I457d5c2a7cc90afaae929617802d126e6a045a66
Signed-off-by: Carsten Koester <ckoester@cisco.com>
Signed-off-by: pmikus <pmikus@cisco.com>
Diffstat (limited to 'resources')
-rw-r--r-- | resources/tools/testbed-setup/playbooks/01-host-setup.yaml | 12 | ||||
l--------- | resources/tools/testbed-setup/playbooks/files/requirements.txt | 1 |
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 |