-
Does anyone have a working config for specifying SSH as the mgmt interface for a Linux node (docker image) with clab provider? If I understand the logic correctly, the access method is derived by the |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 3 replies
-
You can use custom group Ansible variables -- it seems the order of groups in
FWIW, make sure you're using containers that include a preconfigured SSH server. |
Beta Was this translation helpful? Give feedback.
-
However, if you use clab as a secondary provider, your life becomes more interesting. In that case, you can make the change for all Linux containers in a lab (change We have to put provider/device-specific group variables (like |
Beta Was this translation helpful? Give feedback.
-
OK, I give up ;) I see no other way but to fully evaluate the group_vars and store them in the snapshot file. Additionally, we should allow ansible_ and netlab_ parameters in node data with no further checks (admittedly giving people all the rope they need to hand themselves, but that's par for the course for nerd knobs ;) |
Beta Was this translation helpful? Give feedback.
-
Fixed the easy part that now allows you to specify |
Beta Was this translation helpful? Give feedback.
-
Hi @ipspace thanks a lot for a quick fix. Can you elaborate what the intended behavior is for the different output methods? We now eject a snapshot 'in parallel' with an ansible inventory. But ansible interprets this inventory in it's own way. just brain-flushing here.. |
Beta Was this translation helpful? Give feedback.
Fixed the easy part that now allows you to specify
ansible_connection
in node data, which should be good enough to get you going.