Skip to content

Commit

Permalink
toml: Clarify about inventory examples (ansible#71180)
Browse files Browse the repository at this point in the history
Add a note in toml inventory plugin about three different
inventory examples.

Fixes: ansible#67003

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
  • Loading branch information
Akasurde committed Aug 10, 2020
1 parent 172230d commit edac065
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/ansible/plugins/inventory/toml.py
Expand Up @@ -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.
Expand All @@ -15,7 +15,8 @@
- Requires the 'toml' python library
'''

EXAMPLES = '''
EXAMPLES = r'''
# Following are examples of 3 different inventories in TOML format
example1: |
[all.vars]
has_java = false
Expand Down

0 comments on commit edac065

Please sign in to comment.