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:
Abhijeet Kasurde 2020-08-11 02:01:26 +05:30 committed by GitHub
parent 172230d7b8
commit edac065bd2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,7 +4,7 @@
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
DOCUMENTATION = '''
DOCUMENTATION = r'''
inventory: toml
version_added: "2.8"
short_description: Uses a specific TOML file as an inventory source.
@ -15,7 +15,8 @@ DOCUMENTATION = '''
- Requires the 'toml' python library
'''
EXAMPLES = '''
EXAMPLES = r'''
# Following are examples of 3 different inventories in TOML format
example1: |
[all.vars]
has_java = false