mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-04 23:44:00 -07:00
To override a generic class that is subclassed based on platform, the subclass must define platform and distribution. The load_platform_subclass() calls the get_platform() and get_distribution() methods to detect the platform and the distribution. On Alpine Linux, get_distribution() method returns None and it is not possible to have different implementations based on detected platform. |
||
---|---|---|
.. | ||
cli | ||
compat | ||
config | ||
errors | ||
executor | ||
galaxy | ||
inventory | ||
module_utils | ||
modules | ||
parsing | ||
playbook | ||
plugins | ||
template | ||
utils | ||
vars | ||
__init__.py | ||
constants.py | ||
release.py | ||
test-requirements.txt |