-
Notifications
You must be signed in to change notification settings - Fork 31
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
Extend support for additional ondemand.d
configuration parameters
#242
Comments
Yea honestly, this role should just parrot what the puppet module does which is basically just copy YAML. That way, we don't have to keep up with upstream config options - folks can just supply the YAML they want to write and we write it. |
I'm contemplating other breaking changes in the upcoming release like #238 so maybe in the next release we'll change this too. I kinda hate to do it because it'll be super painful for users, but in the long run it'll be a better for users of this role. |
@johrstrom, thanks. I'd agree that allowing users to specify whatever YAML they want would be easier for you to maintain. It's also consistent with what users have to do when providing As for breaking changes in the next release, perhaps support both approaches (without adding any more parameters to your current template) with a heads-up to users that the individual parameters are deprecated and you'll drop support for those in the next again release? PS I'm finding your Ansible role very useful. It's also written in such a way that any limitations I've found (as reported in other issues today!) are straightforward to workaround at the playbook level! Thanks for developing it! |
Thanks, that's a great idea and one I'll likely do. I can likely even patch that for this release so folks can start using the new approach now. |
I just noticed that my issue essentially duplicates 'templates/ondemand.yml.j2 not updated with OOD v3.0 options?' #224 (I think the terms I'd used to search the issue tracker before raising this issue weren't fine tuned enough) |
🤦♂️ yep |
Environment:
Extend templates/ondemand.yml.j2 to support all parameters defined in ondemand.d/*.yml files
For example, for the following (which I needed in a playbook I was writing):
I currently use a local template:
Similarly, add example defaults to defaults/main/ondemand.yml, for example:
Other, currently unsupported, parameters from ondemand.d/*.yml files include
The text was updated successfully, but these errors were encountered: