I need to copy files from managed node to control machines.
A machine’s tomcat path : /usr/local/tomcat-aux
B machine’s tomcat path : /usr/local/tomcat-hk
actually there is not only these two instance.
so I’ve tried below methods, but failed.
name: copy file to tomcat path
copy: src=/deploy/a.conf dest=/usr/local/tomcat*/