Don't mix recurse: true with mode:, since it will set directory-specific modes on all files (not just directories), making flat files inappropriately executable. Not sure I see the value here—did you encounter a situation when these perms needed to be manually updated somehow?
Don't mix
recurse: true
withmode:
, since it will set directory-specific modes on all files (not just directories), making flat files inappropriately executable. Not sure I see the value here—did you encounter a situation when these perms needed to be manually updated somehow?