diff --git a/lib/ansible/inventory/data.py b/lib/ansible/inventory/data.py index 27cbecc3bcf..f11251966aa 100644 --- a/lib/ansible/inventory/data.py +++ b/lib/ansible/inventory/data.py @@ -66,7 +66,7 @@ class InventoryData(object): data = { 'groups': self.groups, 'hosts': self.hosts, - 'local': self.locahost, + 'local': self.localhost, 'source': self.current_source, } return data