community.general/lib/ansible
Adrian Likins ec9769c82f
Facts distribution clear linux 31501 (#32453)
The search string used to look for Clear Linux
was changed in 45a9f96774 to
be more specific, but was too specific. Now finding
a substring match for 'Clear Linux' in /usr/lib/os-release
is enough to consider a match.

Since the details of the full name in os-release varies
('Clear Linux Software for Intel Architecture',
 'Clear Linux OS for Intel Architecture', etc) the
search string match was failing and would fall back to the
'first word in the release file' method resulting in
ansible_distribution='NAME="Clear'

Also add a meta fact indicating which search string
was matched.

Test case info from:
        https://github.com/ansible/ansible/issues/31501#issuecomment-340861535

Fixes #31501
2018-01-20 15:05:53 -05:00
..
cli Improve handling of ansible-doc sanity errors. 2018-01-17 11:41:01 -08:00
compat Create a short license for PSF and MIT. (#32212) 2017-11-06 10:25:30 -08:00
config ansible-config: add simple tests (#34900) 2018-01-17 06:33:33 -08:00
errors Temporary (#31677) 2018-01-15 21:15:04 -08:00
executor win_become: another option to support become flags for runas (#34551) 2018-01-19 13:58:10 -08:00
galaxy Catch exception comparing role versions, and provide a user friendly error message. Fixes #32301 (#34427) 2018-01-11 17:41:23 -06:00
inventory Temporary (#31677) 2018-01-15 21:15:04 -08:00
module_utils Facts distribution clear linux 31501 (#32453) 2018-01-20 15:05:53 -05:00
modules Fixes some bugs and things (#35122) 2018-01-20 10:40:20 -08:00
parsing Support using vault password files that are themselves vault encrypted (#27668) 2018-01-20 14:56:18 -05:00
playbook Temporary (#31677) 2018-01-15 21:15:04 -08:00
plugins Add K8s inventory plugin (#34920) 2018-01-20 08:50:01 -05:00
template [template/vars] Use to_native(exception) as a fallback for Python 3 which doesn't have a .message attribute (#34044) 2017-12-19 17:34:46 -05:00
utils Adds bigip_ucs_fetch module (#35113) 2018-01-19 20:25:47 -08:00
vars fix item var in delegation (#32986) 2017-11-20 09:29:55 -05:00
__init__.py
constants.py Temporary (#31677) 2018-01-15 21:15:04 -08:00
release.py Bump the versions now that devel is 2.5 2017-09-06 13:13:57 -07:00