mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Common CliBase run_commands implementation
This commit is contained in:
parent
f4a6fa1747
commit
a35296a42d
1 changed files with 2 additions and 0 deletions
|
@ -238,3 +238,5 @@ class CliBase(object):
|
|||
exc = get_exception()
|
||||
raise NetworkError(exc.message, commands=commands)
|
||||
|
||||
def run_commands(self, commands, **kwargs):
|
||||
return self.execute(to_list(commands))
|
||||
|
|
Loading…
Reference in a new issue