Skip to content

Commit c2c72ec

Browse files
committed
fixup library boilerplate
1 parent d7d1aa9 commit c2c72ec

File tree

1 file changed

+5
-19
lines changed

1 file changed

+5
-19
lines changed

library/gpu_info.py

Lines changed: 5 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -13,29 +13,15 @@
1313

1414
DOCUMENTATION = """
1515
---
16-
module: sacct_cluster
17-
short_description: Manages clusters in the accounting database
18-
version_added: "2.9"
16+
module: gpu_info
17+
short_description: Gathers information about NVIDIA GPUs on a node
1918
description:
20-
- "Adds/removes a cluster from the accounting database"
21-
options:
22-
name:
23-
description:
24-
- Name of the cluster
25-
required: true
26-
type: str
27-
state:
28-
description:
29-
- If C(present), cluster will be added if it does't already exist
30-
- If C(absent), cluster will be removed if it exists
31-
type: str
32-
required: true
33-
choices: [ absent, present]
34-
19+
- "This module queries for NVIDIA GPUs using `nvidia-smi` and returns information about them. It is designed to fail gracefully if `nvidia-smi` is not present or if the NVIDIA driver is not running."
20+
options: {}
3521
requirements:
3622
- "python >= 3.6"
3723
author:
38-
- Will Szumski, StackHPC
24+
- Steve Brasier, StackHPC
3925
"""
4026

4127
EXAMPLES = """

0 commit comments

Comments
 (0)