1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-02-04 16:01:55 +00:00
community.general/plugins
patchback[bot] c573891160
[PR #11045/6f11d750 backport][stable-12] Use Cobbler API version format to check version (#11117)
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:54:04 +01:00
..
action Reformat everything. 2025-11-01 13:46:53 +01:00
become Reformat everything. 2025-11-01 13:46:53 +01:00
cache Reformat everything. 2025-11-01 13:46:53 +01:00
callback [PR #11049/396f467b backport][stable-12] Improve Python code: address unused variables (#11058) 2025-11-09 09:59:42 +01:00
connection [PR #11043/3478863e backport][stable-12] Address issues reported by ruff check (#11047) 2025-11-08 09:49:52 +01:00
doc_fragments Reformat everything. 2025-11-01 13:46:53 +01:00
filter [PR #11049/396f467b backport][stable-12] Improve Python code: address unused variables (#11058) 2025-11-09 09:59:42 +01:00
inventory [PR #11049/396f467b backport][stable-12] Improve Python code: address unused variables (#11058) 2025-11-09 09:59:42 +01:00
lookup [PR #11031/3cbe44e2 backport][stable-12] Update TSS lookup plugin documentation and add Delinea Platform authentication examples (#11074) 2025-11-10 06:47:46 +01:00
module_utils [PR #11049/396f467b backport][stable-12] Improve Python code: address unused variables (#11058) 2025-11-09 09:59:42 +01:00
modules [PR #11045/6f11d750 backport][stable-12] Use Cobbler API version format to check version (#11117) 2025-11-12 06:54:04 +01:00
plugin_utils Reformat everything. 2025-11-01 13:46:53 +01:00
test Reformat everything. 2025-11-01 13:46:53 +01:00