From 4420441c8ad0f4179a054fd58db03e4a0f7e6e41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Wed, 5 May 2021 17:52:29 +0200 Subject: roles/nfsclient: Ignore errno17 --- roles/nfsclient/tasks/main.yml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'roles/nfsclient/tasks') 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: -- cgit v1.2.3