title: Ansible Synchronize module stuck while testing
body: <p>Goal: I'm trying to copy <code>/home/foo/certificates/*/{fullchain.cer,*.key}</code>
  from one server (tower.example.com) to other nodes.</p>
  
  <p>When trying the task with <code>verbose</code> options, it's stuck. Output logs can be found there (Ansible 2.5): <a href="https://gist.github.com/tristanbes/1be96509d4853d647a49d30259672779" rel="nofollow noreferrer">https://gist.github.com/tristanbes/1be96509d4853d647a49d30259672779</a></p>
  
  <pre><code>- hosts: staging:web:tower:!tower.example.com
    gather_facts: yes
    become: yes
    become_user: foo
    tasks:
      - name: synchronize the certificates folder
        synchronize:
          src: "/home/foo/certificates/"
          dest: "{{ certificates_path }}/"
          rsync_opts:
            - "--include=fullchain.cer"
            - "--include=*.key"
        delegate_to: tower.example.com
  </code></pre>
  
  <p>I'm running this playbook on localhost.
  What I except of this is to connect as <code>foo</code> on <code>tower.example.com</code> then, to ssh as <code>foo</code> to servers of groups <code>web</code> and <code>staging</code> to rsync push the content of the folder matching the filters.</p>
  
  <ul>
  <li>I can run other playbooks on tower.example.com </li>
  <li>I can connect on tower.example.com with my user and then <code>sudo -i &amp;&amp; su foo</code> to foo. </li>
  <li>As foo, I can connect to other hosts as foo for servers under group web and staging.</li>
  </ul>
  
  <p>What am I missing?</p>