ansible: inverted sense of execute paramter

wip-fakessh-exit-status
David Wilson 7 years ago
parent 1f432abd2d
commit 76e739a0ba

@ -117,7 +117,7 @@ class ActionModuleMixin(ansible.plugins.action.ActionBase):
def _fixup_perms2(self, remote_paths, remote_user=None, execute=True): def _fixup_perms2(self, remote_paths, remote_user=None, execute=True):
# replaces 83 lines # replaces 83 lines
if not execute: if execute:
return self._remote_chmod(remote_paths, mode='u+x') return self._remote_chmod(remote_paths, mode='u+x')
# Do nothing unless request was to set the execute bit. # Do nothing unless request was to set the execute bit.
return self.COMMAND_RESULT.copy() return self.COMMAND_RESULT.copy()

Loading…
Cancel
Save