- 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 Quagga
- block:
- - name: Fetch Quagga git repo
- git:
- repo: https://github.com/6WIND/zrpcd.git
- dest: /tmp/build_quagga/zrpcd
- version: 20170731
- - name: Set compile script executable
- file:
- path: /tmp/build_quagga/zrpcd/pkgsrc/dev_compile_script.sh
- mode: 0755
- - name: Compile Quagga
- shell: /tmp/build_quagga/zrpcd/pkgsrc/dev_compile_script.sh -d -b -t
- args:
- chdir: /tmp/build_quagga/zrpcd
- executable: /bin/bash
- become: true
-
post_tasks:
- name: System Reseal
script: ../common-packer/provision/system-reseal.sh