Last active
December 15, 2015 18:39
-
-
Save dcramer/5305520 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @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