title: Edit files using lineinfile and blockinfile or just copy the entire file using template?
body: <p>I am starting to use Ansible in order to write a playbook that will deploy a staging environment for our application.
  I'm trying to understand if the best practice for applying changes to files are to change them locally on the control machine and then propagate them into the remote server, or whether the files should be manipulated inside the playbook.</p>
  
  <p>Manipulating the files through the playbook seems better in terms of readability and documentation, as well as keeping the entire configuration process to one tool for the entire configuration process.
  On the other hand, changing the files on the local server is easier and faster.</p>
  
  <p>What is the best way to approach these problems?</p>
  
  <p>Thanks,
  Yaron.</p>