Skip to content
This repository

Pull request for exclude_hosts feature #170

Closed
bitprophet opened this Issue · 3 comments

1 participant

Jeff Forcier
Jeff Forcier
Owner

Description

I've added an option -x / --exclude-hosts which allows you to specify a list of hosts on the command line to exclude from the calculated hosts list (after roles, etc).

It also works in the expected way:
fab some_func:hosts=a;b,exclude_hosts=a That only runs some_func on host b.

This is handy if you have a huge role and want to just exclude one or two hosts from it.

My fork is here: http://github.com/kcbanner/fabric

-Casey


Originally submitted by Casey Banner (kcbanner) on 2010-05-27 at 03:42pm EDT


Closed as Done on 2011-04-22 at 08:18pm EDT

Jeff Forcier
Owner

Rick Harding (mitechie) posted:


I've rebased his github fork off of the latest master and placed it in a branch to pull from at
https://github.com/mitechie/fabric/tree/170-exclude-hosts


on 2011-03-14 at 12:08pm EDT

Jeff Forcier
Owner

Morgan Goose (goosemo) posted:


Needed docs, and a bit more work, as I was getting a failing test. Fixed all that, and merged it into my 1.1 branch. The sperate changes can be found here


on 2011-04-05 at 07:29pm EDT

Jeff Forcier
Owner

Jeff Forcier (bitprophet) posted:


Beefed up docs a bunch more, looks good now.


on 2011-04-22 at 08:18pm EDT

Jeff Forcier bitprophet closed this
Ramon van Alteren ramonvanalteren referenced this issue from a commit in ramonvanalteren/fabric
Jeff Forcier Beef up docs, add default env value re #170 aec6376
Nick Tarleton npt referenced this issue from a commit in npt/fabric
Morgan Goose Merged in Casey Banner's work for #170, Fixed conflicts and also made…
… a failing test pass.
2bb769d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.