Document overriding role vars to config ODL 94/57494/1
authorDaniel Farrell <dfarrell@redhat.com>
Fri, 29 May 2015 21:09:46 +0000 (17:09 -0400)
committerDaniel Farrell <dfarrell@redhat.com>
Fri, 19 May 2017 16:52:24 +0000 (12:52 -0400)
Relevant to #15

Change-Id: I1d5057752e280af672919c8b35c1bad7322ab9d4
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
README.md

index 4492a1a46850adba0412b3a0a86e5ef6ec645662..f933f1e46c1ac20eb1ba4c05b94e05c7a2b1f862 100644 (file)
--- a/README.md
+++ b/README.md
@@ -36,6 +36,24 @@ The simple example playbook below would install and configure OpenDaylight using
     - opendaylight
 ```
 
+To override default settings, pass variables to the `opendaylight` role.
+
+```yaml
+---
+- hosts: all
+  sudo: yes
+  roles:
+    - { role: opendaylight, extra_features: ['odl-ovsdb-openstack'] }
+```
+
+Results in:
+
+```
+opendaylight-user@root>feature:list | grep odl-ovsdb-openstack
+odl-ovsdb-openstack                   | 1.0.3-Helium-SR3    | x         | ovsdb-1.0.3-Helium-SR3                   | OpenDaylight :: OVSDB :: OpenStack Network Virtual
+```
+
+
 ## License
 
 The OpenDaylight Ansible role is Open Sourced under a BSD two-clause license. Contributions encouraged!