Is there Module to output the playbook in specific directory for windows and linux hosts ?

hello,
Is there a Module to output the playbook in a specific directory for windows and Linux hosts? say - I want to output the result of the playbook in /etc/ansible/win-logs for windows and /etc/ansible/Linux-logs

thanks