Thanks Jon, it's working now
On Wed, Oct 9, 2019 at 3:38 AM 'J Hawkesworth' via Ansible Project <
ansible-project@googlegroups.com> wrote:
> You would probably need to write like this:
>
> - win_shell: 'dir PackageDeploy*.* /b > {{directory}}\configurations\temp'
>args:
> executable:
You would probably need to write like this:
- win_shell: 'dir PackageDeploy*.* /b > {{directory}}\configurations\temp'
args:
executable: cmd
chdir: '{{directory}}\configurations\jmxterm'
register: list_out
But its probably much better to use win_find module