and it was supposed to be a dict

Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
pull/5361/head
Brian Coca 11 years ago
parent fd78916a73
commit 307ab1f561

@ -147,7 +147,7 @@ def main():
if rc: if rc:
module.fail_json(msg=e) module.fail_json(msg=e)
curr = { question: value } curr = { question: value }
prev = (question: prev[question]) prev = {question: prev[question]}
module.exit_json(changed=changed, msg=msg, current=curr, previous=prev) module.exit_json(changed=changed, msg=msg, current=curr, previous=prev)

Loading…
Cancel
Save