1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test
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
..
cache Update ansible-test sanity command. (#31958) 2017-10-26 00:21:46 -07:00
compile Fix Python 3.7 syntax error in yum_repository. 2018-01-09 17:54:10 -08:00
integration Support using vault password files that are themselves vault encrypted (#27668) 2018-01-20 14:56:18 -05:00
legacy vultr: new module vr_dns_record (#34423) 2018-01-19 09:34:23 +01:00
results Collect data from integration test runs. (#28650) 2017-08-25 18:14:47 -04:00
runner Simplify Windows versions in ansible-test. 2018-01-17 16:16:15 -08:00
sanity Fixes some bugs and things (#35122) 2018-01-20 10:40:20 -08:00
units Facts distribution clear linux 31501 (#32453) 2018-01-20 15:05:53 -05:00
utils Simplify Windows versions in ansible-test. 2018-01-17 16:16:15 -08:00