Merge pull request #10977 from emonty/fix-envvars

Fix envvars support in openstack modules
This commit is contained in:
Toshio Kuratomi
2015-05-29 13:05:03 -07:00
3 changed files with 12 additions and 13 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: