@task
def nodetype(typ):
  # Don't override hosts if specified on the command line.
  if not env.hosts:
    env.hosts = ec2_utils.ListInstancesDNS(region='us-east-1', node_types=[typ], states=['running'])
  env.nodetype = typ
Specify node type: STAGING or PROD.
dataset/ETHPy150Open viewfinderco/viewfinder/fabfile.py/nodetype