INI inventory plugin: add documentation about variable types (#25798)

* INI inventory: check variable types
* INI inventory: add doc about variable types

Fixes #25784
This commit is contained in:
Pilou 2017-07-13 21:04:20 +02:00 committed by Matt Clay
parent af4dc6d0eb
commit 2a92120ffa
3 changed files with 24 additions and 3 deletions

View file

@ -27,6 +27,9 @@ DOCUMENTATION:
- The C(children) modifier indicates that the section contains groups.
- The C(vars) modifier indicates that the section contains variables assigned to members of the group.
- Anything found outside a section is considered an 'ungrouped' host.
- Values passed in using the C(key=value) syntax are interpreted as Python literal structure (strings, numbers, tuples, lists, dicts,
booleans, None), alternatively as string. For example C(var=FALSE) would create a string equal to 'FALSE'. Do not rely on types set
during definition, always make sure you specify type with a filter when needed when consuming the variable.
notes:
- It takes the place of the previously hardcoded INI inventory.
- To function it requires being whitelisted in configuration.