OO Flow Flow to execute commands in multiple servers

I need to write a flow to execute a commands from linux host to multiple servers , can any body help me what approach in need to follow in detail