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:
parent
fd78916a73
commit
307ab1f561
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