Hi guys,
I am working on an action plugin that is mostly a wrapper around a template
module. It loops through a list of users and executes the template module for each user and their destination files. Everything works as expected except when diff mode
is enabled. It only shows diffs for the last user in the list, so my question is: is there a way to get a list of diffs for all users and files that have been affected?
Here is how I execute the template module:
module_result = self._shared_loader_obj.action_loader.get(
'template',
task=new_task,
connection=self._connection,
play_context=self._play_context,
loader=self._loader,
templar=self._templar,
shared_loader_obj=self._shared_loader_obj
)
Thanks,
Sasa