Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flightplan runtime object is empty during dynamic hosts configuration #153

Closed
Glebka opened this issue Dec 6, 2016 · 1 comment
Closed

Comments

@Glebka
Copy link
Contributor

Glebka commented Dec 6, 2016

It would be nice to retrieve command line arguments, task and target names from the Flightplan runtime object during the dynamic hosts configuration. But, unfortunately, this object is empty.

For example, I am using "production" target with two hosts: service1.host.com and service2.host.com. Each host serves one microservice with some business logic. I have to write flightplan with two tasks: "start"and "stop" and I want to have different order of service startup and shutdown.
Without information about current running task I can't manage the order of hosts during dynamic hosts configuration. So "start" and "stop" tasks will be performed on the hosts in that order they originally were registered.

@pstadler
Copy link
Owner

pstadler commented Dec 9, 2016

This has been released with 0.6.15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants