[ansible-project] Re: Which module can I use to run command on command prompt on all my hosts ?

2020-06-01 Thread Work-Hard
Thank you for explaining. It is very helpful! Cheers, On Monday, June 1, 2020 at 11:58:15 AM UTC-7, Nick Schendel wrote: > > Since you mentioned gpupdate, then I assumed windows. Ultimately the best > place to look to figure out what you can use is to search the all module > index: > > https:/

[ansible-project] Re: Which module can I use to run command on command prompt on all my hosts ?

2020-06-01 Thread Nick Schendel
Since you mentioned gpupdate, then I assumed windows. Ultimately the best place to look to figure out what you can use is to search the all module index: https://docs.ansible.com/ansible/latest/modules/list_of_all_modules.html most, if not all of the windows stuff has win_ -- You received th

[ansible-project] Re: Which module can I use to run command on command prompt on all my hosts ?

2020-06-01 Thread Nick Schendel
https://docs.ansible.com/ansible/latest/modules/win_command_module.html#win-command-module On Monday, June 1, 2020 at 1:45:21 PM UTC-5, Work-Hard wrote: > > Hi, > Which module can I use as a task to run a command on the command prompt on > all my hosts? > > example - > > cmd: gpupdate/force > >