Remove unneeded required_one_of for openstack

We're being too strict - there is a third possibility, which is that a
user will have defined the OS_* environment variables and expect them to
pass through.
This commit is contained in:
Monty Taylor 2015-05-11 08:06:21 -04:00 committed by Toshio Kuratomi
parent dee2d53b3e
commit b659621575
3 changed files with 7 additions and 12 deletions

View file

@ -93,11 +93,7 @@ def openstack_full_argument_spec(**kwargs):
def openstack_module_kwargs(**kwargs):
ret = dict(
required_one_of=[
['cloud', 'auth'],
],
)
ret = {}
for key in ('mutually_exclusive', 'required_together', 'required_one_of'):
if key in kwargs:
if key in ret: