diff --git a/lib/ansible/cli/inventory.py b/lib/ansible/cli/inventory.py index f0dba1171a..b6183bcd07 100644 --- a/lib/ansible/cli/inventory.py +++ b/lib/ansible/cli/inventory.py @@ -30,8 +30,15 @@ except ImportError: from ansible.utils.display import Display display = Display() -INTERNAL_VARS = frozenset(['ansible_facts', 'ansible_version', +INTERNAL_VARS = frozenset(['ansible_diff_mode', + 'ansible_facts', + 'ansible_forks', + 'ansible_inventory_sources', + 'ansible_limit', 'ansible_playbook_python', + 'ansible_run_tags', + 'ansible_skip_tags', + 'ansible_version', 'inventory_dir', 'inventory_file', 'inventory_hostname',