src: '/tmp/hbase-{{hbase_version}}.tar.gz'
dest: /tmp/Hbase
remote_src: true
- - name: Install Quagga
- block:
- - name: Fetch Quagga git repo
- git:
- repo: https://github.com/6WIND/zrpcd.git
- dest: /tmp/build_quagga/zrpcd
- version: master
- - 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
# Install netaddr package which is needed by some custom mininet topologies
apt-get install python-netaddr
-
-# Check out quagga , compile and install for router functionalities
-echo "Installing the Quagga..."
-mkdir -p /tmp/build_quagga
-cd /tmp/build_quagga
-git clone https://github.com/6WIND/zrpcd.git
-cd zrpcd
-git checkout 20170731
-chmod a+x /tmp/build_quagga/zrpcd/pkgsrc/dev_compile_script.sh
-/tmp/build_quagga/zrpcd/pkgsrc/dev_compile_script.sh -d -b -t
-
-# Removing the build_quagga folder
-rm -rf /tmp/build_quagga/
# Install netaddr package which is needed by some custom mininet topologies
apt-get install python-netaddr
-
-# Check out quagga , compile and install for router functionalities
-echo "Installing the Quagga..."
-mkdir -p /tmp/build_quagga
-cd /tmp/build_quagga
-git clone https://github.com/6WIND/zrpcd.git
-cd zrpcd
-git checkout 20170731
-chmod a+x /tmp/build_quagga/zrpcd/pkgsrc/dev_compile_script.sh
-/tmp/build_quagga/zrpcd/pkgsrc/dev_compile_script.sh -d -b -t
-
-# Removing the build_quagga folder
-rm -rf /tmp/build_quagga/
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