summaryrefslogtreecommitdiff
path: root/lib/ansible/plugins/inventory/constructed.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ansible/plugins/inventory/constructed.py')
-rw-r--r--lib/ansible/plugins/inventory/constructed.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ansible/plugins/inventory/constructed.py b/lib/ansible/plugins/inventory/constructed.py
index 76b19e7a..dd630c66 100644
--- a/lib/ansible/plugins/inventory/constructed.py
+++ b/lib/ansible/plugins/inventory/constructed.py
@@ -13,7 +13,7 @@ DOCUMENTATION = '''
- The Jinja2 conditionals that qualify a host for membership.
- The Jinja2 expressions are calculated and assigned to the variables
- Only variables already available from previous inventories or the fact cache can be used for templating.
- - When O(strict) is False, failed expressions will be ignored (assumes vars were missing).
+ - When I(strict) is False, failed expressions will be ignored (assumes vars were missing).
options:
plugin:
description: token that ensures this is a source file for the 'constructed' plugin.
@@ -84,7 +84,7 @@ from ansible import constants as C
from ansible.errors import AnsibleParserError, AnsibleOptionsError
from ansible.inventory.helpers import get_group_vars
from ansible.plugins.inventory import BaseInventoryPlugin, Constructable
-from ansible.module_utils.common.text.converters import to_native
+from ansible.module_utils._text import to_native
from ansible.utils.vars import combine_vars
from ansible.vars.fact_cache import FactCache
from ansible.vars.plugins import get_vars_from_inventory_sources