diff options
author | Romain Gonçalves <me@rgoncalves.se> | 2021-05-05 17:52:29 +0200 |
---|---|---|
committer | Romain Gonçalves <me@rgoncalves.se> | 2021-05-05 17:52:29 +0200 |
commit | 4420441c8ad0f4179a054fd58db03e4a0f7e6e41 (patch) | |
tree | 310b86e75cedd2ad79c6355a951d97159d359a6f | |
parent | 06559d4e191a5150c436fcee33109589a750fad4 (diff) | |
download | infrastructure-4420441c8ad0f4179a054fd58db03e4a0f7e6e41.tar.gz |
roles/nfsclient: Ignore errno17
-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: |