Change-Id: I26141d214a274c5d59834d110ce9ad0a8ec7dc7e
Signed-off-by: Akshita Jha <zenith158@gmail.com>
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
become: yes
roles:
- role: opendaylight
+ # Accept all default vars
+ # https://github.com/dfarrell07/ansible-opendaylight/blob/master/vars/main.yml
--- /dev/null
+---
+- hosts: all
+ become: yes
+ roles:
+ - role: opendaylight
+ # Install ODL from a local/remote .deb path. Not including
+ # this causes the install to use a repo for the RPM.
+ install_method: "deb_path"
--- /dev/null
+---
+- 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.
+ install_method: "deb_repo"
--- /dev/null
+---
+- hosts: all
+ become: yes
+ roles:
+ - role: opendaylight
+ rpm_repo_file: "opendaylight-4-testing.repo"
+ rpm_repo_url: "https://git.opendaylight.org/gerrit/gitweb?p=integration/packaging.git;a=blob_plain;f=rpm/example_repo_configs/opendaylight-4-testing.repo"
--- /dev/null
+---
+- hosts: all
+ become: yes
+ roles:
+ - role: opendaylight
+ # Install from a local/remote path to an ODL RPM. Not including this
+ # causes the install to use a repo for the RPM, which is recommended.
+ install_method: "rpm_path"
+ # Accept default (local/remote) path to ODL RPM
+ # rpm_path: ""