Add support for openSUSE
[integration/packaging/ansible-opendaylight.git] / tasks / install_odl.yml
index f96f9914a5579c5bf6109fe9b97ede1a5345d9dc..c15f40590ded1d6c97fe504a1617f57c0a699c12 100755 (executable)
 # Install ODL using Yum repo config
 - include: install_odl_via_rpm_repo.yml
   when:
-    - ansible_os_family == "RedHat"
+    - (ansible_os_family == "RedHat") or
+      (ansible_os_family == "Suse")
     - install_method == "rpm_repo"
 
 # Install ODL using rpm URL or a local path to a rpm file
 - include: install_odl_via_rpm_path.yml
   when:
-    - ansible_os_family == "RedHat"
+    - (ansible_os_family == "RedHat") or
+      (ansible_os_family == "Suse")
     - install_method == "rpm_path"