2 # Check the OS and branch for either RPM or Deb installs
5 # `ansible_os_family` param: Operating System family (Debian/RedHat)
6 # `ansible_distribtion` param: Operating system (Debian/Ubuntu/CentOS etc.)
8 # Install ODL .deb using debian repo
9 - include_tasks: install_odl_via_deb_repo.yml
11 - ansible_os_family == "Debian"
12 - install_method == "deb_repo"
14 # Install ODL using .deb URL or local path to a .deb file
15 - include_tasks: install_odl_via_deb_path.yml
17 - ansible_os_family == "Debian"
18 - install_method == "deb_path"
20 # Install ODL using Yum repo config
21 - include_tasks: install_odl_via_rpm_repo.yml
23 - (ansible_os_family == "RedHat") or
24 (ansible_os_family == "Suse")
25 - install_method == "rpm_repo"
27 # Install ODL using rpm URL or a local path to a rpm file
28 - include_tasks: install_odl_via_rpm_path.yml
30 - (ansible_os_family == "RedHat") or
31 (ansible_os_family == "Suse")
32 - install_method == "rpm_path"