From 73b5c30fe5702cd07004358bb00167d879b21660 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Thu, 14 Sep 2017 09:29:04 +0300
Subject: [PATCH] - Add assertion to verify that the ansible_lsb facts are
 present.

---
 tasks/main.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tasks/main.yml b/tasks/main.yml
index d522eed..14dc7da 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -5,6 +5,7 @@
   assert:
     that:
         - ansible_os_family == 'Debian'
+        - ansible_lsb is mapping
         - ansible_lsb.codename in ['buster', 'jessie', 'sid', 'stretch', 'trusty', 'xenial', 'yakkety', 'zesty']
         - nodejs_version in [6, 8]
 
-- 
GitLab