def bash(script, nodes=None, user=None): 
    if type(script) in (list, tuple):
        script = "\n".join(script)
    if nodes is None:
        nodes = common.fab.env.hosts
    if user is None:
        user = common.fab.env.user
    with common.fab.settings(user=user, hosts=nodes):
        return execute(common.bash, script)
Run a bash script on a set of nodes
dataset/ETHPy150Open datastax/cstar_perf/tool/cstar_perf/tool/benchmark.py/bash