added constraint for space in composer command

reviewable/pr18780/r1
Ramunas Dronga 9 years ago
parent d5673f6eb4
commit 83c0bfbe3f

@ -170,6 +170,9 @@ def main():
# Get composer command with fallback to default
command = module.params['command']
if re.search(r"\s", command):
module.fail_json(msg="Use the 'arguments' param for passing arguments with the 'command'")
arguments = module.params['arguments']
available_options = get_available_options(module=module, command=command)

Loading…
Cancel
Save