mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 03:41:25 -07: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()
|
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))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue