Execute recipes/jobs


I would like to know is there a way to execute recipes or jobs on multiple nodes without adding recipes under runlist?
Please anyone let me know can we do it

May i get any update


Yes, we can achieve it using knife ssh. for more detail please refer: https://docs.chef.io/workstation/knife_ssh/


knife ssh 'name:*' 'sudo chef-client -o recipe[NAME_OF_RECIPE]'

1 Like

Thanks vivek,

May i know will it work on windows nodes ?

It will! You just use winrm instead of ssh:


Thanks a lot benny . I will try

Thank again vivek