X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Ftools%2Ftestbed-setup%2Fplaybooks%2F01-host-setup.yaml;h=de32beb361975d1f7f4a0debea925fdec0d3b899;hp=21cef818230c33c0a15b008123ab89394515bcbe;hb=9ac28a0341f378009bd0af9d8a80ed86463f085f;hpb=e8cb6da0c3687f63b4973ef11ee2aed43c37bd87 diff --git a/resources/tools/testbed-setup/playbooks/01-host-setup.yaml b/resources/tools/testbed-setup/playbooks/01-host-setup.yaml index 21cef81823..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,17 +56,19 @@ - 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 tasks: - - name: Install zlib1g-dev - apt: name=zlib1g-dev state=present - name: Install unzip apt: name=unzip state=present - name: pstate parameter @@ -79,3 +85,11 @@ lineinfile: dest=/etc/default/grub regexp=^GRUB_CMDLINE_LINUX= line=GRUB_CMDLINE_LINUX="\"isolcpus={{ isolcpus }} intel_pstate=disable\"" - name: update grub command: update-grub + - name: Install pkg-config + apt: name=pkg-config state=present + - name: Install libglib2.0-dev + apt: name=libglib2.0-dev state=present + - name: Install autoconf + apt: name=autoconf state=present + - name: Install libtool + apt: name=libtool state=present