diff --git a/host.go b/host.go index a6c28ce..d1318fa 100644 --- a/host.go +++ b/host.go @@ -194,7 +194,7 @@ func prepHosts(hosts Hosts) { hosts[i].RawInventory = json.RawMessage(asB) } invMode := h.InventoryMode - h.RawInventoryMode = &invMode + hosts[i].RawInventoryMode = &invMode } }