You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to compose host variables from interfaces data in nb_inventory but it does not seem to work.
Something like:
interfaces: true
compose:
test_var: interfaces
The test_var is not seen in the host variables: so it looks like the interfaces variable is not available in compose.
The above is just a test, usually the composed variable would be much more complex but it would start with interfaces | ...something.
Am I doing something wrong, or even with interfaces: true the interfaces data is not available to compose?
If it is not available then why? Can it be added?
I would like to avoid the constructed plugin if possible.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am trying to
compose
host variables from interfaces data innb_inventory
but it does not seem to work.Something like:
The
test_var
is not seen in the host variables: so it looks like theinterfaces
variable is not available incompose
.The above is just a test, usually the
compose
d variable would be much more complex but it would start withinterfaces | ...something
.Am I doing something wrong, or even with
interfaces: true
the interfaces data is not available tocompose
?If it is not available then why? Can it be added?
I would like to avoid the constructed plugin if possible.
Beta Was this translation helpful? Give feedback.
All reactions