Fix ansible-lint errors 54/57554/1
authorsrisankethu <sanketh.uppalapati@research.iiit.ac.in>
Sun, 8 Jan 2017 18:07:05 +0000 (23:37 +0530)
committerDaniel Farrell <dfarrell@redhat.com>
Fri, 19 May 2017 16:52:26 +0000 (12:52 -0400)
Change-Id: I010ce114210a507ca560cfada4c45fefd8a5fc0b
Signed-off-by: srisankethu <sanketh.uppalapati@research.iiit.ac.in>
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
tasks/install_odl.yml

index 24c94183eaa2c2613731f5e61698a6d3fe9b3f49..455b9e53b3022e9798d622839628fa9ce97fd809 100755 (executable)
@@ -1,7 +1,7 @@
 ---
 # Check the OS and branch for either RPM or Deb installs
 
-# Docs: 
+# Docs:
 # `ansible_os_family` param: Operating System family (Debian/RedHat)
 # `ansible_distribtion` param: Operating system (Debian/Ubuntu/CentOS etc.)
 # `ansible_distribution_version` param: The complete version of the OS
 # The .debs are currently hosted in OpenSUSE Build Service (OBS).
 # In OBS, the name of the .deb repository for Debian contains the OS name
 # in the form Debian_{major_version} (eg: Debian_8.0).
-- set_fact:
+- name: Set OS name for .deb repo for Debian in OBS
+  set_fact:
     os="{{ ansible_distribution }}_{{ ansible_distribution_major_version }}.0"
   when:
     ansible_distribution == "Debian"
 
 # In OBS, the name of the .deb repository for Ubuntu contains the OS name
 # in the form xUbuntu_{version} (eg: xUbuntu_16.04).
-- set_fact:
+- name: Set OS name for .deb repo for Ubuntu in OBS
+  set_fact:
     os="x{{ ansible_distribution }}_{{ ansible_distribution_version }}"
   when:
     ansible_distribution == "Ubuntu"
@@ -44,4 +46,4 @@
 - include: install_odl_via_rpm_path.yml
   when:
     - ansible_os_family == "RedHat"
-    - install_method == "rpm_path"
\ No newline at end of file
+    - install_method == "rpm_path"