Skip to content

Referencing host variables under the new List of Dicts schema #3024

Discussion options

You must be logged in to vote

Hi Rich, if you are running this as part of an AVD playbook, you can leverage some of our internal
switch.* facts, but please note that these are subject to change without notice! We are working on defining a set of stable facts you can use for this in the future.

{{ hostvars.lyonwan1a.switch.mgmt_ip }}

should have what you need here.

You can find other vars here, but again your mileage may vary. Let us know which ones you need, so we can try to cover it. Also it would be good to know what you need them for, so we can provide a native feature instead.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by carlbuchmann
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ClausHolbechArista
Comment options

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