mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 11:21:25 -07:00
Establish sh as the default shell plugin.
This is a fix for one of the problems pointed out in #14176
This commit is contained in:
parent
a584ab3420
commit
5b1d8cfd5c
5 changed files with 30 additions and 1 deletions
|
@ -21,6 +21,11 @@ from ansible.plugins.shell.sh import ShellModule as ShModule
|
|||
|
||||
class ShellModule(ShModule):
|
||||
|
||||
# Common shell filenames that this plugin handles
|
||||
COMPATIBLE_SHELLS = frozenset(('fish',))
|
||||
# Family of shells this has. Must match the filename without extension
|
||||
SHELL_FAMILY = 'fish'
|
||||
|
||||
_SHELL_AND = '; and'
|
||||
_SHELL_OR = '; or'
|
||||
_SHELL_SUB_LEFT = '('
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue