1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-02-04 07:51:50 +00:00
community.general/plugins
Felix Fontein 147ffc6b48
[stable-11] Use Cobbler API version format to check version (#11045) (#11118)
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 6f11d75047)

Co-authored-by: Bruno Travouillon <devel@travouillon.fr>
2025-11-12 06:59:31 +01:00
..
action action/become/cache/callback: adjust import __future__ for Python3 (#9583) 2025-01-20 19:36:21 +01:00
become [PR #10873/6cd46654 backport][stable-11] Avoid six in plugin code (#10875) 2025-10-05 07:36:47 +02:00
cache [PR #10873/6cd46654 backport][stable-11] Avoid six in plugin code (#10875) 2025-10-05 07:36:47 +02:00
callback [PR #10873/6cd46654 backport][stable-11] Avoid six in plugin code (#10875) 2025-10-05 07:36:47 +02:00
connection [PR #10873/6cd46654 backport][stable-11] Avoid six in plugin code (#10875) 2025-10-05 07:36:47 +02:00
doc_fragments [PR #10874/750adb43 backport][stable-11] pipx: adjustments for pipx 1.8.0 (#10876) 2025-10-05 07:23:57 +02:00
filter [PR #10873/6cd46654 backport][stable-11] Avoid six in plugin code (#10875) 2025-10-05 07:36:47 +02:00
inventory [PR #10873/6cd46654 backport][stable-11] Avoid six in plugin code (#10875) 2025-10-05 07:36:47 +02:00
lookup [PR #11031/3cbe44e2 backport][stable-11] Update TSS lookup plugin documentation and add Delinea Platform authentication examples (#11073) 2025-11-10 06:47:40 +01:00
module_utils [PR #10933/c850e209 backport][stable-11] Add support for client auth in Keycloak cllient secrets module (#10946) 2025-10-19 21:22:44 +02:00
modules [stable-11] Use Cobbler API version format to check version (#11045) (#11118) 2025-11-12 06:59:31 +01:00
plugin_utils [PR #10873/6cd46654 backport][stable-11] Avoid six in plugin code (#10875) 2025-10-05 07:36:47 +02:00
test [PR #10873/6cd46654 backport][stable-11] Avoid six in plugin code (#10875) 2025-10-05 07:36:47 +02:00