ansible-generator: Replace ansible-core with ansible-base

Signed-off-by: Maxwell G <gotmax@e.email>
This commit is contained in:
Maxwell G 2021-11-20 14:14:23 -06:00
parent d0a26f7e7d
commit 2e3ecde1e9
No known key found for this signature in database
GPG Key ID: F79E4E25E8C661F8

View File

@ -27,7 +27,7 @@ def main():
f"ansible-collection({info['namespace']}.{info['name']}) = {info['version']}"
)
if args.action == "requires":
print("(ansible >= 2.9.0 or ansible-base > 2.10.0)")
print("(ansible >= 2.9.0 or ansible-core >= 2.11.0)")
for dep, req in info.get("dependencies", {}).items():
print(f"ansible-collection({dep})", end="")
if req == "*":