mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-03 00:43:07 +00:00
Use Cobbler API version format to check version (#11045)
* Use Cobbler API version format to check version
Cobbler use the formula below to return the version:
float(format(int(elems[0]) + 0.1 * int(elems[1]) + 0.001 * int(elems[2]), '.3f'))
Which means that 3.3.7 is changed to 3.307 which is > 3.4.
* Compare Cobbler version as a float
* Remove LooseVersion import
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| .keep | ||
| 11026-xfconf-empty-array.yml | ||
| 11031-tss-lookup-delinea-rebranding.yml | ||
| 11045-check-cobbler-version.yml | ||
| filesystem-xfs-resize-slack.yml | ||