From a35296a42d3d449d44d35c403aafbb0e04e892a1 Mon Sep 17 00:00:00 2001 From: Nathaniel Case Date: Mon, 22 Aug 2016 13:18:32 -0400 Subject: [PATCH] Common CliBase run_commands implementation --- lib/ansible/module_utils/shell.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/ansible/module_utils/shell.py b/lib/ansible/module_utils/shell.py index 33c1c093fa..68e99e787f 100644 --- a/lib/ansible/module_utils/shell.py +++ b/lib/ansible/module_utils/shell.py @@ -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))