We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea6e3f6 commit ad98067Copy full SHA for ad98067
plugins/inventory/checkmk.py
@@ -180,7 +180,9 @@ def _populate(self):
180
self.inventory.set_variable(host["id"], "ipaddress", host["ipaddress"])
181
self.inventory.set_variable(host["id"], "folder", host["folder"])
182
if self.want_ipv4:
183
- self.inventory.set_variable(host["id"], "ansible_host", host["ipaddress"])
+ self.inventory.set_variable(
184
+ host["id"], "ansible_host", host["ipaddress"]
185
+ )
186
187
if self.groupsources:
188
if "hosttags" in self.groupsources:
0 commit comments