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 60c85ff commit 0dff59bCopy full SHA for 0dff59b
ansible/roles/nhc/templates/nhc.conf.j2
@@ -8,7 +8,7 @@
8
{# /efi is mounted both directly and via systemd1 autofs, which NHC can't cope with #}
9
{# use `awk '{print $5 " " $10 " " $4 " " $9}' /proc/self/mountinfo | sort -k1` to check that is the only case #}
10
{% set mount_mode = 'rw' if 'rw' in mount.options.split(',') else 'ro' %}
11
-{{ ansible_fqdn }} || check_fs_mount_{{ mount_mode }} -t "{{ mount.fstype }}" -s "{{ mount.device }}" -f "{{ mount.mount }}"
+{{ ansible_fqdn }} || check_fs_mount_{{ mount_mode }} -t "{{ mount.fstype }}" -s "{{ mount.device | replace(' ', '\\040') }}" -f "{{ mount.mount }}"
12
{% endfor %}
13
14
## Ethernet interface checks
0 commit comments