Copy module regular expression

Hi,

Is it possible in copy module to select the source by regular expression,

e.g :

copy: src=/mnt/release/$build/prod dest=/var/www/web/

This will just regular expression will pick just 1 file. and move it.

If not (most likely i dont think its possible), is there better way i can do this ?

One way is using 'with_fileglob:'

Thanks, Can with_fileglob be used along with with_items or with_nested. ?

Regards,–
Kavin Kankeshwar

No, it can't. What you are looking for is the

local_action: rsync

idiom.