ansible/ansible — pull request #764 by willthames (2012-08-02 06:54:23+00:00)
Title: Revert acceptance of directory as dest for copy

Although library/copy can be corrected to understand that dest is
a directory, I can't see how to let _execute_copy know this and let the
file module know.

As a better solution than before #733, the copy module now explicitly (rather
than silently) fails when dest is a directory.