diff --git a/ansible_mitogen/mixins.py b/ansible_mitogen/mixins.py index 2daaa262..d987d128 100644 --- a/ansible_mitogen/mixins.py +++ b/ansible_mitogen/mixins.py @@ -394,7 +394,7 @@ class ActionModuleMixin(ansible.plugins.action.ActionBase): if self._discovery_deprecation_warnings: if result.get('deprecations') is None: result['deprecations'] = [] - data['deprecations'].extend(self._discovery_deprecation_warnings) + result['deprecations'].extend(self._discovery_deprecation_warnings) return wrap_var(result)