mirror of
https://github.com/thegeeklab/ansible-later.git
synced 2024-11-26 06:40:42 +00:00
fix: skip ansible-later min version check for default placeholder 0.0.0
This commit is contained in:
parent
9a46ac6c39
commit
d7d50ead10
@ -46,6 +46,7 @@ def get_standards(filepath):
|
|||||||
)
|
)
|
||||||
|
|
||||||
if getattr(standards, "ansible_later_min_version", None) and \
|
if getattr(standards, "ansible_later_min_version", None) and \
|
||||||
|
utils.get_property("__version__") != "0.0.0" and \
|
||||||
LooseVersion(standards.ansible_later_min_version) > LooseVersion(
|
LooseVersion(standards.ansible_later_min_version) > LooseVersion(
|
||||||
utils.get_property("__version__")):
|
utils.get_property("__version__")):
|
||||||
utils.sysexit_with_message(
|
utils.sysexit_with_message(
|
||||||
|
Loading…
Reference in New Issue
Block a user