- - 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
+ # This image is being used as a CSIT tools image and some of our
+ # CSIT test scripts are relying on python-2 and its request library.
+ # This makes sure we install them onto the image even though they
+ # are not required for the OVS rule of it.
+ - name: Install CSIT dependencies
+ apt:
+ name:
+ - python-requests
+ state: present
+ become: true