Replace install_method by odl_install_method
[integration/packaging/ansible-opendaylight.git] / tasks / install_odl.yml
index 0f7068fe09bca27bb7a5305436beeebeed97872c..c5dc286012e242e7340cf48121659ca945c3f2db 100755 (executable)
@@ -9,24 +9,24 @@
 - include_tasks: install_odl_via_deb_repo.yml
   when:
     - ansible_os_family == "Debian"
-    - install_method == "deb_repo"
+    - odl_install_method == "deb_repo"
 
 # Install ODL using .deb URL or local path to a .deb file
 - include_tasks: install_odl_via_deb_path.yml
   when:
     - ansible_os_family == "Debian"
-    - install_method == "deb_path"
+    - odl_install_method == "deb_path"
 
 # Install ODL using Yum repo config
 - include_tasks: install_odl_via_rpm_repo.yml
   when:
     - (ansible_os_family == "RedHat") or
       (ansible_os_family == "Suse")
-    - install_method == "rpm_repo"
+    - odl_install_method == "rpm_repo"
 
 # Install ODL using rpm URL or a local path to a rpm file
 - include_tasks: install_odl_via_rpm_path.yml
   when:
     - (ansible_os_family == "RedHat") or
       (ansible_os_family == "Suse")
-    - install_method == "rpm_path"
+    - odl_install_method == "rpm_path"