mirror of
https://github.com/ansible/awx.git
synced 2026-01-10 15:32:07 -03:30
Use modern distro API for platform info (#15954)
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
This commit is contained in:
parent
32bbf3a0c3
commit
c1b6f9a786
@ -142,7 +142,7 @@ def config(since, **kwargs):
|
||||
return {
|
||||
'platform': {
|
||||
'system': platform.system(),
|
||||
'dist': distro.linux_distribution(),
|
||||
'dist': (distro.name(), distro.version(), distro.codename()),
|
||||
'release': platform.release(),
|
||||
'type': install_type,
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user