mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-02 06:19:10 -07:00
Merge branch 'devel' into devel_switch_v2
This commit is contained in:
commit
e547e1f9ba
8 changed files with 125 additions and 6 deletions
|
@ -423,7 +423,7 @@ class Facts(object):
|
|||
release = re.search("PRETTY_NAME=[^(]+ \(?([^)]+?)\)", data)
|
||||
if release:
|
||||
self.facts['distribution_release'] = release.groups()[0]
|
||||
break
|
||||
break
|
||||
elif name == 'Mandriva':
|
||||
data = get_file_content(path)
|
||||
if 'Mandriva' in data:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue