Skip to main content

Hi everyone,

I am creating a Multi VM Blueprint and I have a post-creation task. This task should be executed once per deployment, but since it is a post-VM-creation task, it is executed n times for n deployed machines from the blueprint.

Do you have any ideas how to make the the task execute only once after the deployment of the application, and not multiple times for every VM?

Thanks in advance!

I would do something like this:

  1. Create a Service that represents the "deployment-wide task."

  2. Add the post-creation task under this service instead of under each VM.

  3. Configure all VM services to depend on this "control service."

  4. The control service task will execute once, after all VM services are up.