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

Add support for multiple deployment tasks #162

Open
arcsector opened this issue Dec 21, 2022 · 3 comments
Open

Add support for multiple deployment tasks #162

arcsector opened this issue Dec 21, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@arcsector
Copy link
Contributor

This might be something that is impractical, however I would definitely find it useful to be able to run multiple deployment tasks in list format. This would cut down on variable gathering (splunk boot, package, and other vars that main.yml collects) and it would allow people to centralize their playbooks more. Let me know if this makes sense or not. AFAIK, the changes that need to be made are mainly in the main.yml file and in any other references to the deployment_task.yml var. Is that correct?

@jewnix jewnix added the enhancement New feature or request label Jan 11, 2023
@dtwersky
Copy link
Collaborator

dtwersky commented Mar 22, 2023

@arcsector Not a bad idea, but this can cause some issues when the first task being executed changes something, which can cause the variables that are gathered in main.yml to be outdated when the next task runs.

If you have any suggestions how to avoid this, it sure can be implemented.

@arcsector
Copy link
Contributor Author

Thanks for the notices, but I'd expect people to understand what they're doing enough to understand this distinction - maybe we can put a disclaimer in the README - This task changes variables that require a re-run of the main.yml task - do not chain any other tasks after this in your deployment task list or something like that. I could work on putting the list that would need that info together...

@BSonPosh
Copy link

I will second this request... it would very useful

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants