parent
b132593861
commit
bb9bad89bb
1 changed files with 6 additions and 6 deletions
|
@ -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: ''
|
||||
"""
|
||||
|
||||
|
|
Loading…
Reference in a new issue