Closed jamie-pate closed 3 years ago
Actually on closer inspection it does 'put' before 'get' so it seems like my 'put' is failing...
Seems like I added rsync_opts '--omit-dir-times' but also need the default -Pav
flags (docs should be clarified?)
If the destination is empty (in this case I'm also using disable_version_path: true) then the resource errors because there are no existing versions. This make it impossible to deploy to an empty directory.
Maybe there is some rsync flag to fix this? not sure.
Workaround: add a placeholder file 'empty' so that some base 'version' is found.