Unroll local_action

This commit is contained in:
Wojciech Kozlowski 2022-12-28 19:10:33 +01:00
parent 993636e724
commit c9a5b2e9cc

View File

@ -8,7 +8,9 @@
- block: - block:
- name: "identify logcheck ignore files" - name: "identify logcheck ignore files"
local_action: stat path="{{ system_base_logs_ignore_dir }}/{{ item }}" local_action:
module: "ansible.builtin.stat"
path: "{{ system_base_logs_ignore_dir }}/{{ item }}"
register: system_base_logs_ignore_files_stat register: system_base_logs_ignore_files_stat
loop: "{{ [ansible_hostname, 'all'] | union(group_names) }}" loop: "{{ [ansible_hostname, 'all'] | union(group_names) }}"