Install opendaylight .deb only for Ubuntu 16.04 60/57560/1
authorAkshita Jha <zenith158@gmail.com>
Tue, 7 Mar 2017 10:50:04 +0000 (16:20 +0530)
committerDaniel Farrell <dfarrell@redhat.com>
Fri, 19 May 2017 16:52:27 +0000 (12:52 -0400)
Change-Id: Ia6d6cb6e1a19f7da586f93a5b3159fd7589f2bd3
Signed-off-by: Akshita Jha <zenith158@gmail.com>
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
tasks/install_odl.yml

index 455b9e53b3022e9798d622839628fa9ce97fd809..77c61d9c28cf8ab263819cd7ee704fef781ae518 100755 (executable)
@@ -22,7 +22,7 @@
   set_fact:
     os="x{{ ansible_distribution }}_{{ ansible_distribution_version }}"
   when:
-    ansible_distribution == "Ubuntu"
+    - ansible_distribution == "Ubuntu" and ansible_distribution_version == "16.04"
 
 # Install ODL .deb using debian repo
 - include: install_odl_via_deb_repo.yml