Repository navigation
Conversation
This works by relying on the fact that vagrant's ssh-config for multiple machines differs only in the host string. Behaviour: fab vagrant task # runs on all running vagrant vms fab vagrant:name1 # runs on only name1 machine fab vagrant:name3,name1 # run on name3 and name1 Hosts are kept in the order they are entered, if given.
|
This is updated now. I suspect that with "vagrant.settings()" probably doesn't handle this either, but I honestly don't know how to use that, and I couldn't find any use of it in the tests. |
|
Here is an example of So if we grep for "running", we get: Vagrant 1.4 adds machine-readable output. Maybe we should require that. |
|
Now that I've stepped away from this for a while, I'm coming around to this idea. I rather like the ability to specify several specific vagrant machines from the command line. Regarding @ronnix's point about I still personally won't use the "all running by default", mostly because I tend to have one development environment with virtualbox and one production environment with rackspace running at all times. More often than not, I only want to run |
This works by relying on the fact that vagrant's ssh-config for multiple
machines differs only in the host string.
Behaviour:
fab vagrant task # runs on all running vagrant vms
fab vagrant:name1 # runs on only name1 machine
fab vagrant:name3,name1" # run on name3 and name1
This fixes issue #176