mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
Common CliBase run_commands implementation
This commit is contained in:
@@ -238,3 +238,5 @@ class CliBase(object):
|
|||||||
exc = get_exception()
|
exc = get_exception()
|
||||||
raise NetworkError(exc.message, commands=commands)
|
raise NetworkError(exc.message, commands=commands)
|
||||||
|
|
||||||
|
def run_commands(self, commands, **kwargs):
|
||||||
|
return self.execute(to_list(commands))
|
||||||
|
|||||||
Reference in New Issue
Block a user