fix: skip ansible-later min version check for default placeholder 0.0.0

This commit is contained in:
Robert Kaussow 2021-01-19 22:31:53 +01:00
parent 9a46ac6c39
commit d7d50ead10
Signed by: xoxys
GPG Key ID: 65362AE74AF98B61
1 changed files with 1 additions and 0 deletions

View File

@ -46,6 +46,7 @@ def get_standards(filepath):
)
if getattr(standards, "ansible_later_min_version", None) and \
utils.get_property("__version__") != "0.0.0" and \
LooseVersion(standards.ansible_later_min_version) > LooseVersion(
utils.get_property("__version__")):
utils.sysexit_with_message(