Merge "Move unimgr Sonar scan to Sonarcloud"
[releng/builder.git] / packer / provision / mininet-ovs-2.8.yaml
index 441a9d1b1b4cc8224c05f9cc732040cd2afd847b..06dc8c011a323c4a7babdbfd809357dfc45962b2 100644 (file)
     - name: 'Install OpenVSwitch {{ovs_version}}'
       block:
         - name: Install OpenVSwitch dependencies
-          apt: 'name={{item}} state=present'
-          with_items:
-            - autoconf
-            - automake
-            - bzip2
-            - debhelper
-            - dh-autoreconf
-            - libssl-dev
-            - openssl
-            - pkg-config
-            - procps
-            - python-all
-            - python-qt4
-            - python-twisted-conch
-            - python-zopeinterface
+          apt:
+            name:
+              - autoconf
+              - automake
+              - bzip2
+              - debhelper
+              - dh-autoreconf
+              - libssl-dev
+              - openssl
+              - pkg-config
+              - procps
+              - python-all
+              - python-qt4
+              - python-twisted-conch
+              - python-zopeinterface
+            state: present
           become: true
         - name: 'Fetch OpenVSwitch {{ovs_version}}'
           get_url:
     - name: Install mtcbench
       block:
         - name: Install mtcbench dependencies
-          apt: 'name={{item}} state=present'
-          with_items:
-            - autoconf
-            - automake
-            - build-essential
-            - libconfig-dev
-            - libffi-dev
-            - libpcap-dev
-            - libsnmp-dev
-            - libtool
-            - libssl-doc
-            - make
-            - pkg-config
-            - snmp
-            - snmpd
+          apt:
+            name:
+              - autoconf
+              - automake
+              - build-essential
+              - libconfig-dev
+              - libffi-dev
+              - libpcap-dev
+              - libsnmp-dev
+              - libtool
+              - libssl-doc
+              - make
+              - pkg-config
+              - snmp
+              - snmpd
+            state: present
           become: true
         - name: Fetch mtcbench git repo
           git:
             dest: /usr/local/bin/cbench
             mode: 0755
             owner: root
-            remote_src: yes
+            remote_src: true
           become: true
 
     - name: Install exabgp
       apt: name=vlan state=present
       become: true
 
+    - name: Install CSIT dependencies
+      apt:
+        name:
+          - git-review
+          - python-chardet
+          - python-ndg-httpsclient
+          - python-requests
+          - python-urllib3
+        state: present
+      become: true
+
   post_tasks:
     - name: System Reseal
       script: ../common-packer/provision/system-reseal.sh