You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hi Team ,
I have 10 Linux hosts require to run same command at a time. Could you please suggest best way to do this scenario . I tried using ssh module in tasks but I have to create 10 tasks for 10 hosts to execute the same command. Is there a better way to do this ?
Thanks
Ramesh
try Ansible, it will help you
Once you have installed Ansible and added some hosts to the inventory file, typically /etc/ansible/hosts . you can try to connect to your hosts. By default a connection will be made with ssh keys, but you can also specify a username and password.
https://networklore.com/ansible/
Thanks,
Ajeet
thanks for the quick reply, I want to include restarts as a part of deployment job . +
Thanks
ramesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.