FreeBSD Bugzilla – Attachment 165964 Details for
Bug 206498
sysutils/ansible: Tries to feed sh-syntax commands to csh
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Derived from upstream commit 8647fdc7f25ba1c707c5333ca1581a1fa0ffe566
ansible.diff (text/plain), 1.68 KB, created by
Matthew Seaman
on 2016-01-22 16:32:04 UTC
(
hide
)
Description:
Derived from upstream commit 8647fdc7f25ba1c707c5333ca1581a1fa0ffe566
Filename:
MIME Type:
Creator:
Matthew Seaman
Created:
2016-01-22 16:32:04 UTC
Size:
1.68 KB
patch
obsolete
>Index: files/patch-lib_ansible_plugins_action_____init____.py >=================================================================== >--- files/patch-lib_ansible_plugins_action_____init____.py (nonexistent) >+++ files/patch-lib_ansible_plugins_action_____init____.py (working copy) >@@ -0,0 +1,21 @@ >+--- lib/ansible/plugins/action/__init__.py.orig 2016-01-22 16:26:08 UTC >++++ lib/ansible/plugins/action/__init__.py >+@@ -475,8 +475,7 @@ class ActionBase(with_metaclass(ABCMeta, >+ display.debug("done with _execute_module (%s, %s)" % (module_name, module_args)) >+ return data >+ >+- def _low_level_execute_command(self, cmd, sudoable=True, in_data=None, >+- executable=None, encoding_errors='replace'): >++ def _low_level_execute_command(self, cmd, sudoable=True, in_data=None, executable=C.DEFAULT_EXECUTABLE, encoding_errors='replace'): >+ ''' >+ This is the function which executes the low level shell command, which >+ may be commands to create/remove directories for temporary files, or to >+@@ -492,7 +491,7 @@ class ActionBase(with_metaclass(ABCMeta, >+ ''' >+ >+ if executable is not None: >+- cmd = executable + ' -c ' + cmd >++ cmd = executable + ' -c ' + pipes.quote(cmd) >+ >+ display.debug("_low_level_execute_command(): starting") >+ if not cmd: > >Property changes on: files/patch-lib_ansible_plugins_action_____init____.py >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 206498
:
165964
|
165966
|
165967
|
165968