summaryrefslogtreecommitdiff
path: root/lib/ansible/inventory/host.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ansible/inventory/host.py')
-rw-r--r--lib/ansible/inventory/host.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ansible/inventory/host.py b/lib/ansible/inventory/host.py
index 18569ce5..d8b4c6c6 100644
--- a/lib/ansible/inventory/host.py
+++ b/lib/ansible/inventory/host.py
@@ -21,7 +21,7 @@ __metaclass__ = type
from collections.abc import Mapping, MutableMapping
-from ansible.inventory.group import Group
+from ansible.inventory.group import Group, InventoryObjectType
from ansible.parsing.utils.addresses import patterns
from ansible.utils.vars import combine_vars, get_unique_id
@@ -31,6 +31,7 @@ __all__ = ['Host']
class Host:
''' a single ansible host '''
+ base_type = InventoryObjectType.HOST
# __slots__ = [ 'name', 'vars', 'groups' ]