Skip to content

Commit

Permalink
removes talk of hardcoded loading from plugin docs (ansible#49383)
Browse files Browse the repository at this point in the history
  • Loading branch information
acozine authored Nov 30, 2018
1 parent 5c525f9 commit 031e961
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
3 changes: 1 addition & 2 deletions lib/ansible/plugins/inventory/ini.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@
- Do not rely on types set during definition, always make sure you specify type with a filter when needed when consuming the variable.
- See the Examples for proper quoting to prevent changes to variable type.
notes:
- Replaces the previously hardcoded INI inventory.
- Must be whitelisted in configuration to function.
- Whitelisted in configuration by default.
- Consider switching to YAML format for inventory sources to avoid confusion on the actual type of a variable.
The YAML inventory plugin processes variable values consistently and correctly.
'''
Expand Down
3 changes: 1 addition & 2 deletions lib/ansible/plugins/inventory/script.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@
C(--host) will only be used if no C(_meta) key is present.
This is a performance optimization as the script would be called per host otherwise.
notes:
- It takes the place of the previously hardcoded script inventory.
- In order to function, it requires being whitelisted in configuration, which is true by default.
- Whitelisted in configuration by default.
'''

import os
Expand Down
2 changes: 0 additions & 2 deletions lib/ansible/plugins/vars/host_group_vars.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
- Files are restricted by extension to one of .yaml, .json, .yml or no extension.
- Hidden (starting with '.') and backup (ending with '~') files and directories are ignored.
- Only applies to inventory sources that are existing paths.
notes:
- It takes the place of the previously hardcoded group_vars/host_vars loading.
options:
_valid_extensions:
default: [".yml", ".yaml", ".json"]
Expand Down

0 comments on commit 031e961

Please sign in to comment.