scottslowe-learning-tools/ovs-geneve/provision.yml
Scott Lowe 6be1772331 Update environment for Geneve tunneling with OVS
Add Bash shell script to help with namespace setup. Add sections to Ansible playbook for cloning Git repo and inserting Bash shell script for namespace setup. Update README.md with final instructions.
2016-02-12 19:35:51 -07:00

37 lines
760 B
YAML

---
- hosts: "all"
sudo: "yes"
remote_user: "vagrant"
tasks:
- name: "Install necessary packages"
apt:
state: "present"
update_cache: "yes"
name: "{{ item }}"
with_items:
- qemu-kvm
- libvirt-bin
- git
- autoconf
- libtool
- virtinst
- linux-headers-3.19.0-49-generic
- linux-image-3.19.0-49-generic
- linux-image-extra-3.19.0-49-generic
- name: "Clone OVS repository"
sudo: "no"
git:
repo: "https://github.com/openvswitch/ovs.git"
dest: "~/ovs"
update: "no"
- name: "Copy in setup script"
sudo: "no"
copy:
src: "setup.sh"
dest: "/home/vagrant/setup.sh"
owner: "vagrant"
group: "vagrant"
mode: "0755"