mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-05 02:03:09 +00:00
Oops... fixed an error
This commit is contained in:
@@ -327,7 +327,7 @@ class Facts(object):
|
||||
self.facts['distribution_release'] = ora_prefix + data
|
||||
elif name == 'SuSE':
|
||||
data = get_file_content(path).splitlines()
|
||||
self.facts['distribution_version'] = data.split[2].split('=')[1].strip()
|
||||
self.facts['distribution_version'] = data[2].split('=')[1].strip()
|
||||
else:
|
||||
self.facts['distribution'] = name
|
||||
|
||||
|
||||
Reference in New Issue
Block a user