run local_action only once

Hello, my playbook gathering all hosts which was changed in file while playbook plays
After playbook finished I should send in to email, but can’t understand how.
handlers sends alot emails with this attach file, same with post_tasks.
Any hints how to execute in only once?
Thanks.

Have a play that only targets localhost at the end of your playbook.

– Michael