why not use the file ansible module for this?

http://www.ansibleworks.com/docs/modules.html#file