mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 03:41:25 -07:00
Remove a useless section, only act on 'shell' (#16205)
This commit is contained in:
parent
4cee67452b
commit
cb5675a29f
1 changed files with 0 additions and 5 deletions
|
@ -114,11 +114,6 @@ class ModuleArgsParser:
|
||||||
to shell/command being treated special and nothing else
|
to shell/command being treated special and nothing else
|
||||||
'''
|
'''
|
||||||
|
|
||||||
# don't handle non shell/command modules in this function
|
|
||||||
# TODO: in terms of the whole app, should 'raw' also fit here?
|
|
||||||
if action not in ['shell', 'command']:
|
|
||||||
return (action, args)
|
|
||||||
|
|
||||||
# the shell module really is the command module with an additional
|
# the shell module really is the command module with an additional
|
||||||
# parameter
|
# parameter
|
||||||
if action == 'shell':
|
if action == 'shell':
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue