diff options
| author | Robin Roth <robin-roth@online.de> | 2016-03-22 08:12:17 +0100 |
|---|---|---|
| committer | Robin Roth <robin-roth@online.de> | 2016-03-22 08:12:17 +0100 |
| commit | 2c28dcc5cbf076c37b69c0e102c9ee449acbeacb (patch) | |
| tree | 65ef0b4d4516cef70634fa73eee8875d2d7fe315 | |
| parent | 9005f91bb04fcb632c97bccd8b2437ba120fc672 (diff) | |
| download | ansible-2c28dcc5cbf076c37b69c0e102c9ee449acbeacb.tar.gz | |
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
| -rw-r--r-- | lib/ansible/module_utils/facts.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ansible/module_utils/facts.py b/lib/ansible/module_utils/facts.py index 203a72996d..816dfb4738 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: |
