Replies: 1 comment
-
Hi @r3nor - this is indeed possible using the
|
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
-
I am wondering how to build a dynamic inventory. I have a database of hosts, that gets updated, so my inventory must come from an API request.
Then, I need to be able to "limit" by hostname rather than IP, but the ssh connection must be done to an IP. What I have now is;
I would like to limit by hostname, yet use
ip
to connect to that host. Is that possible to do? In ansible I can have theansible_host
variable.Beta Was this translation helpful? Give feedback.
All reactions