Re: [ansible-project] Re: win_shell command execution

2019-10-09 Thread Uppara venkat
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:

[ansible-project] Re: win_shell command execution

2019-10-08 Thread 'J Hawkesworth' via Ansible Project
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