toml: Clarify about inventory examples (#71180)
Add a note in toml inventory plugin about three different inventory examples. Fixes: #67003 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
parent
172230d7b8
commit
edac065bd2
1 changed files with 3 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
||||||
from __future__ import (absolute_import, division, print_function)
|
from __future__ import (absolute_import, division, print_function)
|
||||||
__metaclass__ = type
|
__metaclass__ = type
|
||||||
|
|
||||||
DOCUMENTATION = '''
|
DOCUMENTATION = r'''
|
||||||
inventory: toml
|
inventory: toml
|
||||||
version_added: "2.8"
|
version_added: "2.8"
|
||||||
short_description: Uses a specific TOML file as an inventory source.
|
short_description: Uses a specific TOML file as an inventory source.
|
||||||
|
@ -15,7 +15,8 @@ DOCUMENTATION = '''
|
||||||
- Requires the 'toml' python library
|
- Requires the 'toml' python library
|
||||||
'''
|
'''
|
||||||
|
|
||||||
EXAMPLES = '''
|
EXAMPLES = r'''
|
||||||
|
# Following are examples of 3 different inventories in TOML format
|
||||||
example1: |
|
example1: |
|
||||||
[all.vars]
|
[all.vars]
|
||||||
has_java = false
|
has_java = false
|
||||||
|
|
Loading…
Reference in a new issue