Skip to content

Commit 39257e3

Browse files
committed
tweak NHC docs
1 parent 531b3fc commit 39257e3

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

ansible/roles/nhc/README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ To enable node health checks, ensure the `nhc` group contains the `compute` grou
2121
compute
2222
```
2323

24-
This will:
24+
This will automatically:
2525
1. Add NHC-related configuration to the `slurm.conf` Slurm configuration file.
2626
The default configuration is defined in `openhpc_config_nhc`
2727
(see [environments/common/inventory/group_vars/all/openhpc.yml](../../../environments/common/inventory/group_vars/all/openhpc.yml)).
@@ -75,8 +75,9 @@ to update the autogenerated health checks:
7575
'^(\s+\S+\s+)\|\|(\s+.*)$'
7676

7777
captures the `TARGET` and `||` separator as `\1` and the actual check as `\2`.
78-
Hence - as an example only - the following comments-out checks on a
79-
specific interface for all nodes:
78+
For example the following configuration will comment-out checks for a
79+
specific interface for all nodes - in reality using `state: absent` would be
80+
better if the check is not required, but this shows the regex syntax:
8081

8182
```yaml
8283
nhc_config_changes:

0 commit comments

Comments
 (0)