mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-27 02:30:22 -07:00
This change is meant to replace distribution_release, not version!
This commit is contained in:
parent
83f35a63dd
commit
db2f41bdcb
1 changed files with 1 additions and 1 deletions
|
@ -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[2].split('=')[1].strip()
|
||||
self.facts['distribution_release'] = data[2].split('=')[1].strip()
|
||||
else:
|
||||
self.facts['distribution'] = name
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue