diff --git a/tasks/checks.yml b/tasks/checks.yml index b8f0f8a6ecf2a6dc582e3c6d5ebbbb649837e65b..568fc784d5cfdef589e74116dc6d29584705092b 100644 --- a/tasks/checks.yml +++ b/tasks/checks.yml @@ -27,8 +27,7 @@ - name: Set a fact for the mods available ansible.builtin.set_fact: - # apache_mods_available: "{{ apache_mods_available_load | community.general.json_query('find[].paths') | map('basename') | map('regex_replace', '[.]load$') | sort }}" - apache_mods_available: "{{ apache_mods_available_load | community.general.json_query('find[].paths') }}" + apache_mods_available: "{{ apache_mods_available_load | community.general.json_query('files[].paths') | map('basename') | map('regex_replace', '[.]load$') | sort }}" - name: Debug the mods available ansible.builtin.debug: