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.
- 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.
'''

View file

@ -35,8 +35,7 @@ DOCUMENTATION = '''
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

View file

@ -27,8 +27,6 @@ DOCUMENTATION = '''
- 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"]