title: Ansible Fetch module error - broken pipe caused by ssh_config
body: <p>Using the fetch module I get a module error. When I run the playbook with <code>-vvvv</code> I get the following debug output,</p>
  <pre><code>debug1: Reading configuration data /etc/ssh/ssh_config
  debug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files
  debug1: /etc/ssh/ssh_config line 21: Applying options for *
  debug2: resolve_canonicalize: hostname 45.00.00.00 is address
  debug1: auto-mux: Trying existing master
  debug2: fd 3 setting O_NONBLOCK
  debug2: mux_client_hello_exchange: master version 4
  debug3: mux_client_forwards: request forwardings: 0 local, 0 remote
  debug3: mux_client_request_session: entering
  debug3: mux_client_request_alive: entering
  debug3: mux_client_request_alive: done pid = 21668
  debug3: mux_client_request_session: session request sent
  debug3: mux_client_read_packet: read header failed: Broken pipe
  debug2: Received exit status from master 137
  Shared connection to 45.00.00.00 closed.
  </code></pre>
  <p>This is followed by</p>
  <pre><code>SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User=&quot;root&quot;' -o ConnectTimeout=10 -o ControlPath=/home/maximum/.ansible/cp/1d97f3b2a1 45.00.00.00 '/bin/sh -c '&quot;'&quot;'rm -f -r /root/.ansible/tmp/ansible-tmp-1605874050.2884061-236476337621921/ &gt; /dev/null 2&gt;&amp;1 &amp;&amp; sleep 0'&quot;'&quot;''
  &lt;45.63.35.46&gt; (0, b'', b'OpenSSH_8.2p1 Ubuntu-4ubuntu0.1, OpenSSL 1.1.1f  31 Mar 2020\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files\r\ndebug1: /etc/ssh/ssh_config line 21: Applying options for *\r\ndebug2: resolve_canonicalize: hostname 45.00.00.00 is address\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 21668\r\ndebug3: mux_client_request_session: session request sent\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
  failed: [host1] (item={'path': '/home/domain/backup/archive/archive_2020-11-20.tar.gz', 'mode': '0644', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 0, 'gid': 0, 'size': 101263360, 'inode': 657061, 'dev': 64513, 'nlink': 1, 'atime': 1605858974.1760325, 'mtime': 1605858946.852478, 'ctime': 1605858946.852478, 'gr_name': 'root', 'pw_name': 'root', 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': True, 'xgrp': False, 'woth': False, 'roth': True, 'xoth': False, 'isuid': False, 'isgid': False}) =&gt; {
      &quot;ansible_loop_var&quot;: &quot;item&quot;,
      &quot;changed&quot;: false,
      &quot;item&quot;: {
          &quot;atime&quot;: 1605858974.1760325,
          &quot;ctime&quot;: 1605858946.852478,
          &quot;dev&quot;: 64513,
          &quot;gid&quot;: 0,
          &quot;gr_name&quot;: &quot;root&quot;,
          &quot;inode&quot;: 657061,
          &quot;isblk&quot;: false,
          &quot;ischr&quot;: false,
          &quot;isdir&quot;: false,
          &quot;isfifo&quot;: false,
          &quot;isgid&quot;: false,
          &quot;islnk&quot;: false,
          &quot;isreg&quot;: true,
          &quot;issock&quot;: false,
          &quot;isuid&quot;: false,
          &quot;mode&quot;: &quot;0644&quot;,
          &quot;mtime&quot;: 1605858946.852478,
          &quot;nlink&quot;: 1,
          &quot;path&quot;: &quot;/home/domain/backup/archive/archive_2020-11-20.tar.gz&quot;,
          &quot;pw_name&quot;: &quot;root&quot;,
          &quot;rgrp&quot;: true,
          &quot;roth&quot;: true,
          &quot;rusr&quot;: true,
          &quot;size&quot;: 101263360,
          &quot;uid&quot;: 0,
          &quot;wgrp&quot;: false,
          &quot;woth&quot;: false,
          &quot;wusr&quot;: true,
          &quot;xgrp&quot;: false,
          &quot;xoth&quot;: false,
          &quot;xusr&quot;: false
      },
      &quot;module_stderr&quot;: &quot;OpenSSH_8.2p1 Ubuntu-4ubuntu0.1, OpenSSL 1.1.1f  31 Mar 2020\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files\r\ndebug1: /etc/ssh/ssh_config line 21: Applying options for *\r\ndebug2: resolve_canonicalize: hostname 45.00.00.00 is address\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: 
  mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 21668\r\ndebug3: mux_client_request_session: session request sent\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 137\r\nShared connection to 45.00.00.00 closed.\r\n&quot;,
      &quot;module_stdout&quot;: &quot;Killed\r\n&quot;,
      &quot;msg&quot;: &quot;MODULE FAILURE\nSee stdout/stderr for the exact error&quot;,
      &quot;rc&quot;: 137
  }
  </code></pre>
  <p>What about my host's ssh_config file is causing this error with the fetch module?
  This just started happening and had worked before and I can successfully ping my hosts.</p>
  <p>Here is the actual task that is being run from my playbook.</p>
  <pre><code>- name: Find and register {{ domain_name }} archive
    find:
      paths: /home/{{ domain_name }}/backup/archive/
      file_type: file
      patterns: &quot;*.tar.gz&quot;
    register: tar_file
  
  - debug:
      var: tar_file
  
  - name: Fetch {{ domain_name }} archive for offsite backup
    fetch:
      src: '{{ item.path }}'
      dest: '{{ store_path }}'
      fail_on_missing: yes
    with_items: '{{ tar_file.files }}'
  </code></pre>