You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ansible/roles/nhc/README.md
+12-17Lines changed: 12 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,9 +63,9 @@ to update the autogenerated health checks:
63
63
64
64
## Role Variables
65
65
66
-
-`nhc_replacements`: Optional, default empty list. A list of mappings
67
-
defining replacements in the autogenerated health checks. Items must have
68
-
keys `regexp` and `replace` which are as for [ansible.builtin.replace](https://docs.ansible.com/ansible/latest/collections/ansible/builtin/replace_module.html).
66
+
-`nhc_config_changes`: Optional, default empty list. A list of mappings
67
+
defining replacements in the autogenerated health checks. Mappings may have
68
+
any keys from [ansible.builtin.lineinfile](https://docs.ansible.com/ansible/latest/collections/ansible/builtin/lineinfile_module.html).
69
69
Note that the NHC [configuration line format](https://github.com/mej/nhc?tab=readme-ov-file#configuration-file-syntax) is:
70
70
71
71
TARGET || CHECK
@@ -75,20 +75,15 @@ to update the autogenerated health checks:
75
75
'^(\s+\S+\s+)\|\|(\s+.*)$'
76
76
77
77
captures the `TARGET` and `||` separator as `\1` and the actual check as `\2`.
78
-
Hence the following item would comment-out checks on a particular interface
0 commit comments