It may be easier and less noisy to pick the path attribute and drop the
loop altogether:
- name: print collection result
ansible.builtin.debug:
msg: "{{ log_search.files | map(attribute='path') }}"
On Wed, 27 Mar 2024 at 00:17, Alex Wanderley
wrote:
> Yes, it worked like a
Yup, a more concise way and worked the same...!
Thanks for that, Dick!
On Wed, Mar 27, 2024 at 1:53 AM Dick Visser wrote:
> It may be easier and less noisy to pick the path attribute and drop the
> loop altogether:
>
> - name: print collection result
> ansible.builtin.debug:
>
Hello everyone,
We're happy to announce the release of the Ansible 9.4.0 package!
Ansible 9.4.0 depends on ansible-core 2.16.5 and includes a curated set of
Ansible collections that provide a vast number of modules, plugins, and roles.
How to get it
-
This release is available on P