mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 03:11:24 -07:00
parent
2f33c1a1a1
commit
5553b20828
206 changed files with 1853 additions and 1870 deletions
|
@ -281,5 +281,8 @@ class CliBase(object):
|
|||
exc = get_exception()
|
||||
raise NetworkError(to_native(exc))
|
||||
|
||||
run_commands = lambda self, x: self.execute(to_list(x))
|
||||
exec_command = lambda self, x: self.shell.send(self.to_command(x))
|
||||
def run_commands(self, x):
|
||||
return self.execute(to_list(x))
|
||||
|
||||
def exec_command(self, x):
|
||||
return self.shell.send(self.to_command(x))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue