title: Cannot copy a directory with Ansible copy module
body: <p>I been trying to copy a directory (in Linux) to a remote Windows node. I can copy single files without any issue. But when I been trying to copy a directory getting the following error.</p>
  
  <p>Environment: Windows 7 </p>
  
  <p>Command: ansible --verbose Windows -m copy -a "src=~/Releases dest=C:\Ansible"</p>
  
  <p>Error: </p>
  
  <pre><code>10.8.0.4 | FAILED =&gt; Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/ansible/runner/__init__.py", line 561, in _executor
      exec_rc = self._executor_internal(host, new_stdin)
    File "/usr/lib/python2.7/dist-packages/ansible/runner/__init__.py", line 666, in _executor_internal
      return self._executor_internal_inner(host, self.module_name, self.module_args, inject, port, complex_args=complex_args)
    File "/usr/lib/python2.7/dist-packages/ansible/runner/__init__.py", line 884, in _executor_internal_inner
      result = handler.run(conn, tmp, module_name, module_args, inject, complex_args)
    File "/usr/lib/python2.7/dist-packages/ansible/runner/action_plugins/copy.py", line 252, in run
      module_return = self.runner._execute_module(conn, tmp_path, 'copy', module_args_tmp, inject=inject, complex_args=complex_args, delete_remote_tmp=delete_remote_tmp)
    File "/usr/lib/python2.7/dist-packages/ansible/runner/__init__.py", line 483, in _execute_module
      argsfile = self._transfer_str(conn, tmp, 'arguments', utils.jsonify(utils.parse_kv(args)))
    File "/usr/lib/python2.7/dist-packages/ansible/utils/__init__.py", line 690, in parse_kv
      vargs = split_args(args)
    File "/usr/lib/python2.7/dist-packages/ansible/module_utils/splitter.py", line 182, in split_args
      raise Exception("error while splitting arguments, either an unbalanced jinja2 block or quotes")
  Exception: error while splitting arguments, either an unbalanced jinja2 block or quotes
  </code></pre>