From b210ef934775ea1809b6a59fd20c01ee4a21516e Mon Sep 17 00:00:00 2001 From: Maik Peuser Date: Mon, 26 Aug 2024 14:07:37 +0200 Subject: [PATCH] FEATURE: don't fail in checkmode if ansible hasn't been run before because the target-folder must not exist on first run, copy-task will fail --- tasks/install.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/install.yaml b/tasks/install.yaml index c718ebd..3809b48 100644 --- a/tasks/install.yaml +++ b/tasks/install.yaml @@ -53,3 +53,4 @@ dest: "{{ oauth2_proxy.prefix.opt }}/bin/oauth2_proxy" mode: "0755" owner: "root" + ignore_errors: "{{ ansible_check_mode }}" \ No newline at end of file