title: How to use log_plays to generate a log file for playbook execution in Ansible
body: <p>I am running Playbook to install in-house software on Windows target machines. I am printing a log of "msg" during this process so that I can forward that to QA / compliance team.
  However, I do not know how to generate a log file with output from debug > "msg" and place it on Windows host machine.
  I know log_plays might be useful, but I could not find any example on how to actually use that module.</p>
  
  <p>Any example code would be appreciated.</p>