diff options
-rw-r--r-- | roles/nfsclient/tasks/main.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/nfsclient/tasks/main.yml b/roles/nfsclient/tasks/main.yml index fe5a0f5..879ed9e 100644 --- a/roles/nfsclient/tasks/main.yml +++ b/roles/nfsclient/tasks/main.yml @@ -38,6 +38,10 @@ group: "0" mode: "755" state: directory + register: result + failed_when: + - result.failed + - '"Errno 17" not in result.msg' - name: ensure tmp directory exists for testing nfsd file: |