From 2c28dcc5cbf076c37b69c0e102c9ee449acbeacb Mon Sep 17 00:00:00 2001 From: Robin Roth Date: Tue, 22 Mar 2016 08:12:17 +0100 Subject: [PATCH] break after parsing SuSE-release in facts.py All sections that lead to succesful parsing of the version break afterwards, for SuSE-release this break was missing, potentiall causing #14837 --- lib/ansible/module_utils/facts.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ansible/module_utils/facts.py b/lib/ansible/module_utils/facts.py index 203a72996d1..816dfb47382 100644 --- a/lib/ansible/module_utils/facts.py +++ b/lib/ansible/module_utils/facts.py @@ -484,6 +484,7 @@ class Facts(object): if release: self.facts['distribution_release'] = release.group(1) self.facts['distribution_version'] = self.facts['distribution_version'] + '.' + release.group(1) + break elif name == 'Debian': data = get_file_content(path) if 'Debian' in data or 'Raspbian' in data: