From a4c3a63cbdb9fde03e827f1b583e6131faba5bc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Tue, 21 Dec 2021 17:42:23 +0000 Subject: roles/nfsclient: Pass ansible-lint posix.mount should be used and tested when possible --- roles/nfsclient/tasks/main.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'roles/nfsclient/tasks') diff --git a/roles/nfsclient/tasks/main.yml b/roles/nfsclient/tasks/main.yml index 7799a60..0c1f75e 100644 --- a/roles/nfsclient/tasks/main.yml +++ b/roles/nfsclient/tasks/main.yml @@ -26,7 +26,4 @@ lineinfile: path: "{{ nfsclient_fstab_path }}" line: "{{ nfsclient_server_ip }}:{{ nfsclient_server_dir }}/{{ inventory_hostname }} {{ nfsclient_dir }} nfs rw,nodev,nosuid 0 0" - -- name: reload fstab - shell: mount -a - ignore_errors: true + notify: reload fstab -- cgit v1.2.3