diff options
Diffstat (limited to 'lib/ansible/modules/getent.py')
-rw-r--r-- | lib/ansible/modules/getent.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/ansible/modules/getent.py b/lib/ansible/modules/getent.py index 315fd31f..5487354b 100644 --- a/lib/ansible/modules/getent.py +++ b/lib/ansible/modules/getent.py @@ -13,7 +13,7 @@ module: getent short_description: A wrapper to the unix getent utility description: - Runs getent against one of its various databases and returns information into - the host's facts, in a getent_<database> prefixed variable. + the host's facts, in a C(getent_<database>) prefixed variable. version_added: "1.8" options: database: @@ -27,7 +27,6 @@ options: - Key from which to return values from the specified database, otherwise the full contents are returned. type: str - default: '' service: description: - Override all databases with the specified service @@ -36,12 +35,12 @@ options: version_added: "2.9" split: description: - - Character used to split the database values into lists/arrays such as C(:) or C(\t), + - Character used to split the database values into lists/arrays such as V(:) or V(\\t), otherwise it will try to pick one depending on the database. type: str fail_key: description: - - If a supplied key is missing this will make the task fail if C(true). + - If a supplied key is missing this will make the task fail if V(true). type: bool default: 'yes' extends_documentation_fragment: @@ -119,7 +118,7 @@ ansible_facts: import traceback from ansible.module_utils.basic import AnsibleModule -from ansible.module_utils._text import to_native +from ansible.module_utils.common.text.converters import to_native def main(): |