playbook to refresh the VTN config in ONOS
Change-Id: I9988f4764b524478892f72b92a2de83f45a63cc9
diff --git a/vtn-refresh-playbook.yml b/vtn-refresh-playbook.yml
new file mode 100644
index 0000000..ba2fc6a
--- /dev/null
+++ b/vtn-refresh-playbook.yml
@@ -0,0 +1,17 @@
+---
+# vtn-refresh-playbook.yml
+# Refreshes the VTN state, via the ONOS commandline
+
+- name: Include vars
+ hosts: all
+ tasks:
+ - name: Include variables
+ include_vars: "{{ item }}"
+ with_items:
+ - "profile_manifests/{{ cord_profile }}.yml"
+ - profile_manifests/local_vars.yml
+
+- name: Refresh VTN config
+ hosts: head
+ roles:
+ - vtn-refresh