ansible/changelogs/fragments/add-minor-version-for-centos-debian.yaml
Sam Doran 6e7fcf38a8 [stable-2.8] Get minor version number for CentOS and Debian (#57814) (#58538)
* [stable-2.8] Get minor version number for CentOS and Debian (#57814)

* Get the most detailed version number from distro.version() for CentOS and Debian
* Update tests and fixtures
* Update fixture generation script to gather distro info and work with Python 3
* Update LinuxMint fixtures
* Cleanup fixture formatting
* Improvements based on feedback from abadger:
    - use unicode since that is what distro returns
    - use frozenset with a tuple
    - include link Debian to bug
(cherry picked from commit ab6a9ef130)

Co-authored-by: Sam Doran <sdoran@redhat.com>

* Add a changelog for the version number in facts change
2019-06-30 16:59:38 -07:00

6 lines
303 B
YAML

---
bugfixes:
- facts - Restore the minor version number for CentOS and Debian. Debian has
a minor release number but doesn't put it in os-release. CentOS doesn't have
a minor version number but users want to try to match CentOS versions to RHEL
equivalents so we grab the RHEL version instead.