Fix issues with newest ansible-test 2.11

Change-Id: Ifdf253ca01b0e19b55867d8ead03eaceb5b2d73a
This commit is contained in:
Sagi Shnaidman
2021-04-07 10:15:09 +03:00
parent 18b03e1971
commit c329f65b41
9 changed files with 13 additions and 21 deletions

View File

@@ -115,7 +115,8 @@ def main():
is_old_facts = module._name == 'openstack.cloud.project_facts'
if is_old_facts:
module.deprecate("The 'openstack.cloud.project_facts' module has been renamed to 'openstack.cloud.project_info', "
"and the renamed one no longer returns ansible_facts", version='2.13')
"and the renamed one no longer returns ansible_facts", version='2.0.0',
collection_name='openstack.cloud')
sdk, opcloud = openstack_cloud_from_module(module)
try: