Fix ansible-devel sanity tests for deprecations

Change-Id: I02c3f2cb5a8bb4c891a8f0e36628925208251bf7
This commit is contained in:
Sagi Shnaidman 2020-06-11 12:55:43 +03:00
parent dfa7983a78
commit c75ab0924a
2 changed files with 13 additions and 12 deletions

View File

@ -118,10 +118,11 @@ options:
- As of Kilo, by default, passwords are always masked to API
requests, which means the logic as a result always attempts to
re-assert the password field.
- C(skip_update_of_driver_password) is deprecated alias and will be removed in 2.14.
- C(skip_update_of_driver_password) is deprecated alias and will be removed in openstack.cloud 2.0.0.
type: bool
default: 'no'
aliases: [ skip_update_of_driver_password ]
aliases:
- skip_update_of_driver_password
requirements:
- "python >= 3.6"
- "openstacksdk"
@ -237,7 +238,7 @@ def main():
required=False,
type='bool',
aliases=['skip_update_of_driver_password'],
deprecated_aliases=[dict(name='skip_update_of_driver_password', version='2.14')]
deprecated_aliases=[dict(name='skip_update_of_driver_password', version='2.0.0')]
),
state=dict(required=False, default='present', choices=['present', 'absent'])
)

View File

@ -1,9 +1,9 @@
plugins/modules/compute_flavor_info.py pylint:invalid-tagged-version
plugins/modules/identity_domain_info.py pylint:invalid-tagged-version
plugins/modules/identity_user_info.py pylint:invalid-tagged-version
plugins/modules/image_info.py pylint:invalid-tagged-version
plugins/modules/networks_info.py pylint:invalid-tagged-version
plugins/modules/port_info.py pylint:invalid-tagged-version
plugins/modules/project_info.py pylint:invalid-tagged-version
plugins/module_utils/openstack.py pylint:invalid-tagged-version
plugins/modules/subnets_info.py pylint:invalid-tagged-version
plugins/modules/compute_flavor_info.py pylint:ansible-deprecated-no-collection-name
plugins/modules/identity_domain_info.py pylint:ansible-deprecated-no-collection-name
plugins/modules/identity_user_info.py pylint:ansible-deprecated-no-collection-name
plugins/modules/image_info.py pylint:ansible-deprecated-no-collection-name
plugins/modules/networks_info.py pylint:ansible-deprecated-no-collection-name
plugins/modules/port_info.py pylint:ansible-deprecated-no-collection-name
plugins/modules/project_info.py pylint:ansible-deprecated-no-collection-name
plugins/modules/subnets_info.py pylint:ansible-deprecated-no-collection-name
plugins/module_utils/openstack.py pylint:ansible-deprecated-no-collection-name