Skip to content
Discussion options

You must be logged in to vote

Sorry for the delayed answer. I hope you have figured it out in the meantime.

How can I cleanly merge these two separate YAML structures into one l3_edge variable without modifying any of the AVD Jinja templates?

You have to use inline jinja in the Ansible inputs like you suggest below.

Are there recommended best practices for list merging in Ansible (e.g., using combine, list_merge='append', etc.) to handle this scenario?

No I don't know of others doing this.

Are there any pitfalls I should watch out for when managing separate files at the group_vars level and merging them in a “final” file (e.g., group_vars/all)?

I would strongly suggest only sourcing profiles from a single place …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by carlbuchmann
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants