We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93ea6bf commit d282c34Copy full SHA for d282c34
ansible/roles/nhc/README.md
@@ -37,6 +37,7 @@ When the `ansible/site.yml` playbook is run this will automatically:
37
38
- Filesystem mounts
39
- Ethernet interfaces
40
+ - InfiniBand interfaces
41
42
See `/etc/nhc/nhc.conf` on a compute node for the full configuration.
43
ansible/roles/nhc/templates/nhc.conf.j2
@@ -16,5 +16,10 @@
16
{{ ansible_fqdn }} || check_hw_eth {{ iface }}
17
{% endfor %}
18
19
+## InfiniBand interface checks
20
+{% for iface in ansible_interfaces | select('match', 'ib') %}
21
+{{ ansible_fqdn }} || check_hw_ib {{ (ansible_facts[iface]['speed'] / 1000) | int }} {{ iface }}
22
+{% endfor %}
23
+
24
## Site-specific checks
25
{{ nhc_config_extra }}
0 commit comments