title: Ansible - Unarchive module overwriting
body: <p>i am working with ansible and using a playbook.
  In this playbook I am performing a download (from a web url) and unarchive of a file into hosts (using unarchive module), and after that I am copying some files from control machine into hosts (using copy module).</p>
  
  <p>What is happening is that every time I use unarchive module, although every file is the same, ansible is overwriting files in hosts. 
  How can I make it so that it does not overwrite if contents are the same?</p>
  
  <p>My playbook:</p>
  
  <pre><code>---
  - hosts: group1
  sudo: yes
  tasks:
  
    - name: Download and Extract apache
    unarchive:
     src: http://mirrors.up.pt/pub/apache/tomcat/tomcat-9/v9.0.1/bin/apache-tomcat-9.0.1.tar.gz
     dest: /opt/
     remote_src: yes
  
  - name: Copy file to host
    copy: src=/etc/ansible/files/myfile.xml dest=/opt/apache-tomcat-9.0.1/conf/myfile.xml
  </code></pre>