emyl / vagrant-triggers

Allow the definition of arbitrary scripts that will run on the host before and/or after Vagrant commands.
MIT License
546 stars 35 forks source link

Trigger when all machines are up in a multi-machine environment #81

Closed p8952 closed 6 years ago

p8952 commented 7 years ago

If I have a multi-machine environment and am using config.trigger.after :provision is it possible to trigger run_remote on all of the machines only once they are all up?

For example:

Machine 1: Up Machine 1: Provision Machine 2: Up Machine 2: Provision Machine 3: Up Machine 3: Provision Machine 1: Trigger Machine 2: Trigger Machine 3: Trigger

Rather than:

Machine 1: Up Machine 1: Provision Machine 1: Trigger Machine 2: Up Machine 2: Provision Machine 2: Trigger Machine 3: Up Machine 3: Provision Machine 3: Trigger