Skip to content

Commit

Permalink
issue #30 - create cache dirs for local checks and plugins if require…
Browse files Browse the repository at this point in the history
…d (fix)
  • Loading branch information
zerwes committed Aug 26, 2024
1 parent f88a39d commit 69f6f94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 69f6f94

Please sign in to comment.