removes talk of hardcoded loading from plugin docs (#49383)

This commit is contained in:
Alicia Cozine 2018-11-30 14:37:55 -06:00 committed by GitHub
parent 5c525f9466
commit 031e961c58
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 6 deletions

View file

@ -24,8 +24,7 @@ DOCUMENTATION = '''
- Do not rely on types set during definition, always make sure you specify type with a filter when needed when consuming the variable. - 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. - See the Examples for proper quoting to prevent changes to variable type.
notes: notes:
- Replaces the previously hardcoded INI inventory. - Whitelisted in configuration by default.
- Must be whitelisted in configuration to function.
- Consider switching to YAML format for inventory sources to avoid confusion on the actual type of a variable. - 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. The YAML inventory plugin processes variable values consistently and correctly.
''' '''

View file

@ -35,8 +35,7 @@ DOCUMENTATION = '''
C(--host) will only be used if no C(_meta) key is present. 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. This is a performance optimization as the script would be called per host otherwise.
notes: notes:
- It takes the place of the previously hardcoded script inventory. - Whitelisted in configuration by default.
- In order to function, it requires being whitelisted in configuration, which is true by default.
''' '''
import os import os

View file

@ -27,8 +27,6 @@ DOCUMENTATION = '''
- Files are restricted by extension to one of .yaml, .json, .yml or no extension. - 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. - Hidden (starting with '.') and backup (ending with '~') files and directories are ignored.
- Only applies to inventory sources that are existing paths. - Only applies to inventory sources that are existing paths.
notes:
- It takes the place of the previously hardcoded group_vars/host_vars loading.
options: options:
_valid_extensions: _valid_extensions:
default: [".yml", ".yaml", ".json"] default: [".yml", ".yaml", ".json"]