ansible/ansible — pull request #1546 by dagwieers (2012-11-07 13:20:08+00:00)
Title: Don't require thirsty mode for directory destination

There is no need to require thirsty mode when the destination is a directory. We add the basename of the url to the destination directory and proceed with that. If that file exists in non-thirsty mode continue as expected.

I also cleaned up some of the logic that is no longer necessary if we simply rewrite the destination from the very start the way it is expected.

This redoes #1543 which was closed.