qa/tasks/vstart_runner: add LocalCluster.run

Signed-off-by: Sage Weil <sage@newdream.net>
This commit is contained in:
Sage Weil 2021-06-25 19:16:19 -04:00
parent 8788af5663
commit 1bfa812f5d

View File

@ -1011,6 +1011,12 @@ class LocalCluster(object):
def only(self, requested):
return self.__class__(rolename=requested)
def run(self, *args, **kwargs):
r = []
for remote in self.remotes.keys():
r.append(remote.run(*args, **kwargs))
return r
class LocalContext(object):
def __init__(self):