1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

and it was supposed to be a dict

Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
This commit is contained in:
Brian Coca 2013-12-19 17:22:05 -05:00
parent fd78916a73
commit 307ab1f561

View file

@ -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)