diff --git a/action_plugins/serverdensity.py b/action_plugins/serverdensity.py
index ee8e634c84e016df85ee8cf2afb991a783fdb433..aee54f0a1f4ed7d379d5db911577161b08138f5e 100644
--- a/action_plugins/serverdensity.py
+++ b/action_plugins/serverdensity.py
@@ -67,7 +67,7 @@ class ActionModule(object):
         vv('Ensure hosts...')
         for host in self.runner.host_set:
             vv('- ' + host)
-            host_vars = self.runner.inventory.get_variables(host)
+            host_vars = inject['hostvars'][host]
             facts = host_vars.get('ansible_facts', {})
             location = host_vars.get('location')
             if not location: