Update ini.py (#50171)

Typo/grammar/consistency fixes.
This commit is contained in:
Richlv 2018-12-20 17:07:05 +02:00 committed by Brian Coca
parent b132593861
commit bb9bad89bb

View file

@ -11,31 +11,31 @@ DOCUMENTATION = """
short_description: read data from a ini file
description:
- "The ini lookup reads the contents of a file in INI format C(key1=value1).
This plugin retrieve the value on the right side after the equal sign C('=') of a given section C([section])."
This plugin retrieves the value on the right side after the equal sign C('=') of a given section C([section])."
- "You can also read a property file which - in this case - does not contain section."
options:
_terms:
description: The key(s) to look up
required: True
type:
description: ini Type of the file. 'properties' refers to the Java properties files.
description: Type of the file. 'properties' refers to the Java properties files.
default: 'ini'
choices: ['ini', 'properties']
file:
description: Name of the file to load
description: Name of the file to load.
default: ansible.ini
section:
default: global
description: section where to lookup for key.
description: Section where to lookup the key.
re:
default: False
type: boolean
description: Flag to indicate if the key supplied is a regexp.
description: Flag to indicate if the key supplied is a regexp.
encoding:
default: utf-8
description: Text encoding to use.
default:
description: return value if the key is not in the ini file
description: Return value if the key is not in the ini file.
default: ''
"""