From 6bd93dfd097de58d1b5c070e0844bdab6f9f3e15 Mon Sep 17 00:00:00 2001 From: Kuba Orlik Date: Mon, 9 Nov 2026 15:46:29 +0100 Subject: [PATCH] Don't fail if the directory doesn't exist yet --- tasks/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index 0d61b06..07c17d3 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -5,7 +5,8 @@ register: compose_result failed_when: > compose_result.failed and - ("is not a directory" not in compose_result.msg) + ("is not a directory" not in compose_result.msg) and + ("does not contain compose.yaml" not in compose_result.msg) - name: "Create the peertube directory" file: