mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
fbd828673d
* Fix distro fact handling for Flatcar The existence of the file /etc/flatcar/update.conf depends on bootstrap configuration typically provided by the user. For that reason this file is unsuitable for determining distro facts for Flatcar Container Linux. The distribution_release fact is meaningless in the case of Flatcar since Flatcar doesn't have named releases. The distribution_version fact, however, IS meaningful and should contain a number such as "3139.2.0". - Use /etc/os-release instead of /etc/flatcar/update.conf. - Drop the distribution_release fact. - Set the distribution_version fact. - Update distro test fixture for Flatcar - Generate the fixture using gen_distribution_version_testcase.py. - Override result.distribution and result.os_family manually as the generator script gives wrong values. - Use a recent Flatcar version. Signed-off-by: Johanan Liebermann <jliebermann@microsoft.com> |
2 years ago | |
---|---|---|
.. | ||
_vendor | 3 years ago | |
ansible_test | 3 years ago | |
cli | 2 years ago | |
compat | 2 years ago | |
config | 3 years ago | |
errors | 2 years ago | |
executor | 2 years ago | |
galaxy | 2 years ago | |
inventory | 2 years ago | |
inventory_test_data/group_vars | 10 years ago | |
mock | 3 years ago | |
module_utils | 2 years ago | |
modules | 3 years ago | |
parsing | 2 years ago | |
playbook | 2 years ago | |
plugins | 2 years ago | |
regex | 6 years ago | |
template | 3 years ago | |
utils | 2 years ago | |
vars | 3 years ago | |
__init__.py | 8 years ago | |
requirements.txt | 2 years ago | |
test_constants.py | 4 years ago | |
test_context.py | 4 years ago | |
test_no_tty.py | 3 years ago |