Skip to content

Commit

Permalink
Remove auth_token parameter
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
emonty committed Feb 13, 2015
1 parent 0912781 commit 4e4bdaa
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/ansible/module_utils/openstack.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']),
Expand All @@ -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:
Expand Down

0 comments on commit 4e4bdaa

Please sign in to comment.