Created
September 12, 2012 16:09
-
-
Save krimdomu/3707750 to your computer and use it in GitHub Desktop.
use perl arrays for group concatenation
This file contains 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
my @group1 = qw/host1 host2 host3/; | |
my @group2 = qw/srv1 srv2 srv3/; | |
group one => @group1; | |
group two => @group2; | |
group all => @group1, @group2; | |
task "prepare", group => "all", sub { | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment