and it was supposed to be a dict
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
This commit is contained in:
parent
564bd29eeb
commit
3587053119
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue