Add API example playbook for DEB env 56/76556/1
authorTaseer <taseer94@gmail.com>
Mon, 1 Oct 2018 23:01:44 +0000 (01:01 +0200)
committerTaseer <taseer94@gmail.com>
Mon, 1 Oct 2018 23:01:44 +0000 (01:01 +0200)
For tests to pass on DEB systems, restconf features needs to
be installed prior to execution, else the tests will fail.

Change-Id: I09cbf03374b3c84b9607d55c60b748a4a83197bd
Signed-off-by: Taseer <taseer94@gmail.com>
examples/deb_repo_api.yml [new file with mode: 0644]

diff --git a/examples/deb_repo_api.yml b/examples/deb_repo_api.yml
new file mode 100644 (file)
index 0000000..cdb95e6
--- /dev/null
@@ -0,0 +1,9 @@
+---
+- hosts: all
+  become: yes
+  roles:
+    - role: opendaylight
+      # Install ODL from a Debian repo. Not including this
+      # causes the install to use a repo for the RPM.
+      odl_install_method: "deb_repo"
+      extra_features: [odl-restconf-all]
\ No newline at end of file