From ce702f665fb5fa23d99e580220418d8b23d36486 Mon Sep 17 00:00:00 2001 From: fastlorenzo Date: Tue, 8 Mar 2022 09:38:12 +0100 Subject: [PATCH] Ensure certificates folder exists (#4) Signed-off-by: fastlorenzo --- tasks/redelk-setup.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tasks/redelk-setup.yml b/tasks/redelk-setup.yml index f5c2873..4d1bc12 100755 --- a/tasks/redelk-setup.yml +++ b/tasks/redelk-setup.yml @@ -190,6 +190,16 @@ tags: - pki +- name: Ensure local certificates directory exists + become: yes + file: + path: "{{ redelk_cert_path }}" + state: directory + mode: 0750 + owner: root + group: root + delegate_to: localhost + - name: Fetch redelk certificates become: yes synchronize: