From 69f6f94a046e88a5a60aaa4a4e06dc9d194dc5e4 Mon Sep 17 00:00:00 2001 From: Klaus Zerwes Date: Mon, 26 Aug 2024 11:28:33 +0200 Subject: [PATCH] issue #30 - create cache dirs for local checks and plugins if required (fix) --- tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 132e3ca..722a6ff 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -60,7 +60,7 @@ path: "{{ opn_check_mk_lib_dir }}/plugins/{{ item }}" state: directory mode: 0755 - with_items: "{{ opn_check_mk_plugins | map('dirname') | unique |}}" + with_items: "{{ opn_check_mk_plugins | map('dirname') | unique | list }}" when: - opn_install_check_mk - item | length > 0 @@ -78,7 +78,7 @@ path: "{{ opn_check_mk_lib_dir }}/local/{{ item }}" state: directory mode: 0755 - with_items: "{{ opn_check_mk_local_checks | map('dirname') | unique }}" + with_items: "{{ opn_check_mk_local_checks | map('dirname') | unique | list }}" when: - opn_install_check_mk - item | length > 0