Commit 76e739a0 authored by David Wilson's avatar David Wilson

ansible: inverted sense of execute paramter

parent 1f432abd
......@@ -117,7 +117,7 @@ class ActionModuleMixin(ansible.plugins.action.ActionBase):
def _fixup_perms2(self, remote_paths, remote_user=None, execute=True):
# replaces 83 lines
if not execute:
if execute:
return self._remote_chmod(remote_paths, mode='u+x')
# Do nothing unless request was to set the execute bit.
return self.COMMAND_RESULT.copy()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment