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
Bruno Travouillon 6f11d75047
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
2025-11-12 06:47:07 +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 Improve Python code: address unused variables (#11049) 2025-11-09 08:14:35 +01:00
connection Address issues reported by ruff check (#11043) 2025-11-08 17:05:21 +13:00
doc_fragments Reformat everything. 2025-11-01 13:46:53 +01:00
filter Improve Python code: address unused variables (#11049) 2025-11-09 08:14:35 +01:00
inventory Improve Python code: address unused variables (#11049) 2025-11-09 08:14:35 +01:00
lookup Update TSS lookup plugin documentation and add Delinea Platform authentication examples (#11031) 2025-11-10 06:31:37 +01:00
module_utils Improve Python code: address unused variables (#11049) 2025-11-09 08:14:35 +01:00
modules Use Cobbler API version format to check version (#11045) 2025-11-12 06:47:07 +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