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
Thanks,
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
Thanks,
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_
Thank you for explaining. It is very helpful!
Cheers,