mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
and it was supposed to be a dict
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
This commit is contained in:
@@ -147,7 +147,7 @@ def main():
|
||||
if rc:
|
||||
module.fail_json(msg=e)
|
||||
curr = { question: value }
|
||||
prev = (question: prev[question])
|
||||
prev = {question: prev[question]}
|
||||
|
||||
module.exit_json(changed=changed, msg=msg, current=curr, previous=prev)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user