@task
def each():
    __shared_setup()
    for server in env.bootmachine_servers:
        if server.public_ip not in env.hosts:
            env.hosts.append(server.public_ip)
        if server.public_ip not in env.all_hosts:
            env.all_hosts.append(server.public_ip)
Set the env variables for a command to be run on all servers.
dataset/ETHPy150Open rizumu/bootmachine/bootmachine/core.py/each