ansible/ansible — pull request #838 by sfromm (2012-08-10 06:05:37+00:00)
Title: Update file module to not recurse when setting ownership

This updates set_owner_if_different() and set_group_if_different()
to not implicitly recurse when setting ownership (whether user or
group). It drops the os.system() call and replaces it with os.chown().
Resolves issue #825.

The recursion should be explicit. A recurse=yes|no option should be
added to the file module.