Re: [ansible-project] how to display sub variables using debug module

2021-06-28 Thread Clint Denham
Files is a list "files": [ So you need to reference which entry of the list you want to debug. For example... files_to_copy.files.0.filename On Mon, Jun 28, 2021 at 10:19 AM John Veliss wrote: > I am using the win.find module along with the debug module to list files. > > tasks: > - name

[ansible-project] how to display sub variables using debug module

2021-06-28 Thread John Veliss
I am using the win.find module along with the debug module to list files. tasks: - name: Find ALDM zip files ansible.windows.win_find: paths: c:\temp recurse: no patterns: "*.zip" register: files_to_copy - debug: msg: "{{files_to_copy}}" This is what I get