How can I just use python code to specify the target host instead of the host file? Do I have to create a new inventory and override the load method? #757
Unanswered
primary-student
asked this question in
Q&A
Replies: 1 comment
-
If I understood you right, you can use DictInventory plugin from nornir-salt package https://nornir-salt.readthedocs.io/en/latest/Inventory%20Plugins.html#dictinventory-plugin |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How can I just use python code to specify the target host instead of the host file? Do I have to create a new inventory and override the load method?
Beta Was this translation helpful? Give feedback.
All reactions