community.general/lib/ansible/module_utils
Bjorn Neergaard 08f97c0b9d Fix hostname when get_distribution_version() returns a string.
The distro version is a string ('jessie/sid') on Debian unstable and testing.
Because load_platform_subclass() evaluations every subclass as it loops,
comparing numbers when get_distribution_version() does not return a number will
break.

This patch fixes that by returning a number (`0`) when we have an invalid
version, instead of returning `None` or a string.
2014-07-10 11:27:03 -07:00
..
__init__.py Add package file. 2013-10-26 11:10:54 -04:00
basic.py Fix hostname when get_distribution_version() returns a string. 2014-07-10 11:27:03 -07:00
ec2.py Merge branch 'ec2_security_token' of https://github.com/willthames/ansible into willthames-ec2_security_token 2014-03-11 10:45:38 -05:00
facts.py Check for empty os-release file, fixes #7885 2014-06-22 04:08:59 +02:00
gce.py Add BSD license to module_utils/gce.py 2014-03-10 12:02:45 -07:00
known_hosts.py removed port from domain name qualification, fixes 7941 2014-07-02 19:54:50 -04:00
powershell.ps1 Make helper functions more robust against undefined powershell objects 2014-06-19 14:26:36 -05:00
rax.py Validate SSL certs accessed through urllib* 2014-03-10 16:06:52 -05:00
redhat.py add missing license header 2014-04-24 10:31:04 -04:00
urls.py Default use_proxy to True for fetch_url() 2014-05-19 23:04:13 -05:00