diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:55:42 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:55:42 +0000 |
commit | 62d9962ec7d01c95bf5732169320d3857a41446e (patch) | |
tree | f60d8fc63ff738e5f5afec48a84cf41480ee1315 /lib/ansible/modules/getent.py | |
parent | Releasing progress-linux version 2.14.13-1~progress7.99u1. (diff) | |
download | ansible-core-62d9962ec7d01c95bf5732169320d3857a41446e.tar.xz ansible-core-62d9962ec7d01c95bf5732169320d3857a41446e.zip |
Merging upstream version 2.16.5.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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 315fd31..5487354 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(): |