- 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