mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 05:12:45 +00:00
Remove auth_token parameter
It turns out that this can actually already be handled by the existing auth plugin framework and does not need its own parameter. Remove before it sees usage and causes confusion.
This commit is contained in:
@@ -75,7 +75,6 @@ def openstack_full_argument_spec(**kwargs):
|
||||
cloud=dict(default=None),
|
||||
auth_plugin=dict(default=None),
|
||||
auth=dict(default=None),
|
||||
auth_token=dict(default=None),
|
||||
region_name=dict(default=None),
|
||||
availability_zone=dict(default=None),
|
||||
state=dict(default='present', choices=['absent', 'present']),
|
||||
@@ -94,10 +93,6 @@ def openstack_module_kwargs(**kwargs):
|
||||
required_one_of=[
|
||||
['cloud', 'auth'],
|
||||
],
|
||||
mutually_exclusive=[
|
||||
['auth', 'auth_token'],
|
||||
['auth_plugin', 'auth_token'],
|
||||
],
|
||||
)
|
||||
for key in ('mutually_exclusive', 'required_together', 'required_one_of'):
|
||||
if key in kwargs:
|
||||
|
||||
Reference in New Issue
Block a user