Skip to content

Instantly share code, notes, and snippets.

@karanparikh
Created April 5, 2013 07:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save karanparikh/5317316 to your computer and use it in GitHub Desktop.
Save karanparikh/5317316 to your computer and use it in GitHub Desktop.
...
env.roledefs = {
"service_A": ["hostA1", "hostA2", ...],
"service_B": ["hostB1", "hostB2", ...],
"service_C": ["hostC1", "hostC2", ...],
...
}
@task
@parallel
@roles("service_A", "service_B", "service_C")
def build():
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment