If you want to output a message use the debug module, not “command: echo”.
`
- name: echo files
debug:
msg: “{{ item.path | basename }}”
loop: “{{ files_found.files }}”
`
`
TASK [echo files] **************************************************************
ok: [localhost] => (item=None) => {
“msg”: “vault.zip”
}
`