chmod needs more specific arguments to work with sudo_user
Basically if umask is set to something like 0007 then chmod +r and chmod +x are not the same as chmod a+r and chmod a+x Using os.path.basename rather than source.split should make ansible more portable (and even if never ported, more readable)
Showing
Please
register
or
sign in
to comment