Search This Blog

Tuesday, 16 October 2018

Ansible Command to copy files to destination

ansible -i  $host, -b -m copy -a 'src=/home/pavan/scripts/jars/  dest=/app/tomcat/instances/$domain/lib/ owner=tomcat group=tomcat mode=0750 force=yes' all