On running this, the task should copy all the files inside /tmp/files/provisioning/ to /opt/provisioning/. It should create if the destination doesn't exist. However, it should not create a nested folder inside if the destination already exists. (like /opt/provisioning/provisioning/)
Also, by default, it can override the files inside the destination if they are already present. Option like override: false will be nice to have.
On running this, the task should copy all the files inside
/tmp/files/provisioning/
to/opt/provisioning/
. It should create if the destination doesn't exist. However, it should not create a nested folder inside if the destination already exists. (like/opt/provisioning/provisioning/
)Also, by default, it can override the files inside the destination if they are already present. Option like
override: false
will be nice to have.