From bb9bad89bbc621e0d634e4c2f8af56a1e65fdfff Mon Sep 17 00:00:00 2001 From: Richlv Date: Thu, 20 Dec 2018 17:07:05 +0200 Subject: [PATCH] Update ini.py (#50171) Typo/grammar/consistency fixes. --- lib/ansible/plugins/lookup/ini.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/ansible/plugins/lookup/ini.py b/lib/ansible/plugins/lookup/ini.py index f2449edafc..f886a8d9b1 100644 --- a/lib/ansible/plugins/lookup/ini.py +++ b/lib/ansible/plugins/lookup/ini.py @@ -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: '' """