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

✨ Combine dictionaries with host and group vars against default values. #4

Open
indigo423 opened this issue Aug 17, 2023 · 0 comments
Labels
hacktoberfest This issue is a good candidate if you want to contribute to Hacktoberfest

Comments

@indigo423
Copy link
Member

indigo423 commented Aug 17, 2023

When using a dictionary with host_vars and group_vars they are not combined by default. If you set a few parameters in the group, the dictionary, the whole defaults dictionary is overwritten. We need to find a way how we can combine them.

Here is an example of the Kafka defaults. One way would be renaming the dictionaries from kafka_server_properties to kafka_server_properties_group and adding a new one kafka_server_properties_host with the defaults, and using the combine() method.

@indigo423 indigo423 changed the title ✨ Combine kafka.properties dictionary with host and group vars ✨ Combine dictionaries with host and group vars against default values. Aug 18, 2023
@indigo423 indigo423 added the hacktoberfest This issue is a good candidate if you want to contribute to Hacktoberfest label Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest This issue is a good candidate if you want to contribute to Hacktoberfest
Projects
Status: 🧟‍♀ Ideas
Development

No branches or pull requests

1 participant