Copying directories

From IRC, in tasks:

- local_action: rsync <stuff goes here> ${inventory_hostname} <stuff
goes here>

(local_action is an alias for "action:" with a "delegate_to: 127.0.0.1")

Can this be done over ssh?
Thanks,
Ali

Can this be done over ssh?

Rsync works over SSH just fine, yes.

See here for options:

http://linux.die.net/man/1/rsync

Unless I misunderstand the question?