From bb234b92069eaf624f442f2785e95b39b90c2f8b Mon Sep 17 00:00:00 2001 From: Alberto Murillo Silva Date: Fri, 28 Apr 2017 17:41:43 -0500 Subject: [PATCH] Fix ClearLinux pretty name ClearLinux has changed its pretty name in os-release file from: 'Clear Linux Software for Intel Architecture' to: 'Clear Linux OS for Intel Architecture' This patch makes the SEARCH_STRING 'Clear Linux' rather than the full name to make it compatible with the old and new name. Signed-off-by: Alberto Murillo Silva --- lib/ansible/module_utils/facts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/module_utils/facts.py b/lib/ansible/module_utils/facts.py index 546c7bcd39..cef0b05270 100644 --- a/lib/ansible/module_utils/facts.py +++ b/lib/ansible/module_utils/facts.py @@ -667,7 +667,7 @@ class Distribution(object): 'OracleLinux': 'Oracle Linux', 'RedHat': 'Red Hat', 'Altlinux': 'ALT Linux', - 'ClearLinux': 'Clear Linux Software for Intel Architecture', + 'ClearLinux': 'Clear Linux', 'SMGL': 'Source Mage GNU/Linux', }