diff --git a/action/config_template.py b/action/config_template.py index d986fe0..ff277ff 100644 --- a/action/config_template.py +++ b/action/config_template.py @@ -672,18 +672,12 @@ class ActionModule(ActionBase): # Content from config_template is converted to src new_module_args.pop('content', None) - # Set the diff data before running the copy module - _diff = self._get_diff_data(_vars['dest'], transferred_data, task_vars) - # Run the copy module rc = self._execute_module( module_name='copy', module_args=new_module_args, task_vars=task_vars ) - if self._play_context.diff: - rc['diff'] = [] - rc['diff'].append(_diff) if self._task.args.get('content'): os.remove(_vars['source']) return rc diff --git a/tox.ini b/tox.ini index d36032d..be21078 100644 --- a/tox.ini +++ b/tox.ini @@ -34,7 +34,6 @@ setenv = ANSIBLE_LOOKUP_PLUGINS={toxinidir}/lookup ANSIBLE_STRATEGY_PLUGINS={toxinidir}/strategy ANSIBLE_LIBRARY={toxinidir}/library - ANSIBLE_PARAMETERS=--diff [testenv:docs]