mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-04 16:21:28 -07:00
Add Devuan Support for ascii release - resolve 49615 (#49616)
* Add Devuan Support for ascii release - resolve 49615 * Devuan Ascii does not have the VERSION_ID in the /etc/os-release file, we need to set NA
This commit is contained in:
parent
31c1bdd6a8
commit
774a667591
3 changed files with 23 additions and 1 deletions
|
@ -509,6 +509,26 @@ BUG_REPORT_URL="https://bugs.devuan.org/"
|
|||
'distribution_version': u'1'
|
||||
}
|
||||
},
|
||||
{
|
||||
'name': "Devuan",
|
||||
'input': {
|
||||
'/etc/os-release': """PRETTY_NAME="Devuan GNU/Linux ascii"
|
||||
NAME="Devuan GNU/Linux"
|
||||
ID=devuan
|
||||
HOME_URL="https://www.devuan.org/"
|
||||
SUPPORT_URL="https://devuan.org/os/community"
|
||||
BUG_REPORT_URL="https://bugs.devuan.org/"
|
||||
"""
|
||||
},
|
||||
'platform.dist': ('', '', ''),
|
||||
'result': {
|
||||
'distribution': u'Devuan',
|
||||
'distribution_major_version': u'NA',
|
||||
'distribution_release': u'ascii',
|
||||
'os_family': 'Debian',
|
||||
'distribution_version': u'NA'
|
||||
}
|
||||
},
|
||||
{
|
||||
"platform.dist": [
|
||||
"Ubuntu",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue