diff --git a/lib/ansible/modules/extras/system/debconf.py b/lib/ansible/modules/extras/system/debconf.py index 4aa512b4a83..05e545a7ed6 100644 --- a/lib/ansible/modules/extras/system/debconf.py +++ b/lib/ansible/modules/extras/system/debconf.py @@ -164,7 +164,7 @@ def main(): if module._diff: after = prev.copy() after.update(curr) - diffdict = {'before': prev, 'after': after} + diff_dict = {'before': prev, 'after': after} else: diff_dict = {}