Skip to content

Instantly share code, notes, and snippets.

@dcramer
Last active December 15, 2015 18:39
Show Gist options
  • Select an option

  • Save dcramer/5305520 to your computer and use it in GitHub Desktop.

Select an option

Save dcramer/5305520 to your computer and use it in GitHub Desktop.
@hosts('one', 'two')
def foo():
puts 'bar'
def test():
execute(foo)
$ fab test -P
[one] bar
[two] bar
[one] bar
[two] bar
@hosts('one', 'two')
@parallel
def foo():
puts 'bar'
def test():
execute(foo)
$ fab foo
[one] bar
[two] bar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment