You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/docs/docsite/rst/user_guide
Lars Kellogg-Stedman 220d224433 add note regarding {host,group}_vars directory lookup semantics (#48066)
* add note regarding {host,group}_vars directory lookup semantics

While the 'ansible-playbook' command will look for {host,group}_vars in
both the playbook and inventory directories, the 'ansible' command
will only look in the inventory directory. This follows from a close
reading of the documentation but isn't explicit and leads to the
perhaps unexpected result that you can run both commands with the same
configuration in the same directory and get different results.

This commit adds a note to the documentation making the difference in
behavior explicit.

Closes #48065

* incorporates bcoca feedback
6 years ago
..
shared_snippets Add docs detailing how to convert many with_X style loops to use loop and filters (#40964) 6 years ago
become.rst Update documentation based on 301 permanent redirects (#43675) 6 years ago
command_line_tools.rst Followup to docs refactor pull request #36067 - fixes gitignore and c… (#36120) 7 years ago
index.rst Core Docs Refactor and Redesign (#36067) 7 years ago
intro.rst Remove more docs build errors (#45364) 6 years ago
intro_adhoc.rst doc(user_guide): fix typos (#47425) 6 years ago
intro_bsd.rst Remove use of simplejson throughout code base (#43548) 6 years ago
intro_dynamic_inventory.rst Updates intro to dynamic inventory page (#46799) 6 years ago
intro_getting_started.rst protocol (#47666) 6 years ago
intro_inventory.rst add note regarding {host,group}_vars directory lookup semantics (#48066) 6 years ago
intro_patterns.rst Prefer https:// links in the docs site 6 years ago
intro_windows.rst Core Docs Refactor and Redesign (#36067) 7 years ago
module_defaults_config.rst Remove more docs build errors (#45364) 6 years ago
modules.rst Prefer https:// links in the docs site 6 years ago
modules_intro.rst Prefer https:// links in the docs site 6 years ago
modules_support.rst doc(user_guide): fix typos (#47425) 6 years ago
playbook_pathing.rst doc(user_guide): fix typos (#47425) 6 years ago
playbooks.rst bad space (#47667) 6 years ago
playbooks_advanced_syntax.rst Updates variables docs: facts examples, headers, links, etc. (#47767) 6 years ago
playbooks_async.rst updated documentation fixing #47202 (#47267) 6 years ago
playbooks_best_practices.rst updated documentation fixing #47202 (#47267) 6 years ago
playbooks_blocks.rst updated documentation fixing #47202 (#47267) 6 years ago
playbooks_checkmode.rst docs: Document disabling diff on task level (#37998) 7 years ago
playbooks_conditionals.rst prefer ansible_facts namespace and dict notation (#44980) 6 years ago
playbooks_debugger.rst Add shorthand debugger method to recreate the task from the original ds (#46987) 6 years ago
playbooks_delegation.rst Update playbooks_delegation.rst (#46254) 6 years ago
playbooks_environment.rst Prefer https:// links in the docs site 6 years ago
playbooks_error_handling.rst Prefer https:// links in the docs site 6 years ago
playbooks_filters.rst enchance yaml filter documentation (#46629) 6 years ago
playbooks_filters_ipaddr.rst fixed grammar and spelling issues (#44931) 6 years ago
playbooks_intro.rst doc(user_guide): fix typos (#47425) 6 years ago
playbooks_lookups.rst Prefer https:// links in the docs site 6 years ago
playbooks_loops.rst doc: minor language corrections to loop docs (#42854) 6 years ago
playbooks_module_defaults.rst Docs for module_defaults feature (#39932) 6 years ago
playbooks_prompts.rst Fix vars_prompt "private" description and improve example (#47688) 6 years ago
playbooks_python_version.rst Core Docs Refactor and Redesign (#36067) 7 years ago
playbooks_reuse.rst Prefer https:// links in the docs site 6 years ago
playbooks_reuse_includes.rst update example to YAML style in documentation (#45968) 6 years ago
playbooks_reuse_roles.rst playbooks_reuse_roles.rst long and shorthand example actually made equivalent. (#48339) 6 years ago
playbooks_roles.rst Reduce warnings (#39254) 7 years ago
playbooks_special_topics.rst clarifies FAQ answer about env vars (#48432) 6 years ago
playbooks_startnstep.rst Core Docs Refactor and Redesign (#36067) 7 years ago
playbooks_strategies.rst Prefer https:// links in the docs site 6 years ago
playbooks_tags.rst updated documentation fixing #47202 (#47267) 6 years ago
playbooks_templating.rst Updates variables docs: facts examples, headers, links, etc. (#47767) 6 years ago
playbooks_tests.rst Add a new "contains" jinja2 test (#45798) 6 years ago
playbooks_variables.rst Updates variables docs: facts examples, headers, links, etc. (#47767) 6 years ago
playbooks_vault.rst Add anchors to some guides and all module categories (#36642) 7 years ago
plugin_filtering_config.rst Update plugin filter documentation (#46665) 6 years ago
quickstart.rst Update documentation based on 301 permanent redirects (#43675) 6 years ago
vault.rst Clean up Vault docs in User Guide. (#46188) 6 years ago
windows.rst Core Docs Refactor and Redesign (#36067) 7 years ago
windows_dsc.rst with_items is obsolete - using loop instead (#46805) 6 years ago
windows_faq.rst doc(user_guide): fix typos (#47425) 6 years ago
windows_setup.rst doc(user_guide): fix typos (#47425) 6 years ago
windows_usage.rst doc(user_guide): fix typos (#47425) 6 years ago
windows_winrm.rst Fixed typos in winrm doc (#47351) 6 years ago