mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-05 07:54:00 -07:00
Bundle a copy of github.com/nir0s/distro/distro.py
Since the 'platform.dist()' and 'platform.linux_distribution()' methods will be removed from future versions of python, this provides an alternative to replace ansibles use of those methods. lib/ansible/module_utils/distro.py is a copy of https://github.com/nir0s/distro/blob/master/distro.py This module is originally from https://github.com/nir0s/distro and is license under the Apache License, Version 2.0.
This commit is contained in:
parent
61a649ce0f
commit
5e1f8a48f3
4 changed files with 1484 additions and 0 deletions
1203
lib/ansible/module_utils/distro/_distro.py
Normal file
1203
lib/ansible/module_utils/distro/_distro.py
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue