summaryrefslogtreecommitdiff
path: root/lib/ansible/plugins/inventory/yaml.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ansible/plugins/inventory/yaml.py')
-rw-r--r--lib/ansible/plugins/inventory/yaml.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ansible/plugins/inventory/yaml.py b/lib/ansible/plugins/inventory/yaml.py
index 193bdfa774..aac89d31e0 100644
--- a/lib/ansible/plugins/inventory/yaml.py
+++ b/lib/ansible/plugins/inventory/yaml.py
@@ -67,10 +67,11 @@ all: # keys must be unique, i.e. only one 'hosts' per group
import os
+from collections.abc import MutableMapping
+
from ansible.errors import AnsibleError, AnsibleParserError
from ansible.module_utils.six import string_types
from ansible.module_utils._text import to_native, to_text
-from ansible.module_utils.common._collections_compat import MutableMapping
from ansible.plugins.inventory import BaseFileInventoryPlugin
NoneType = type(None)