Fabric: Run parallel shell commands in parallel

Custom command mode fabrics allow me to execute

$ fab [options] -- [shell command] 

as defined here

Now, how can I use fabric to run commands in parallel ? It takes quite a lot of time to execute sequentially

+4
source share
1 answer

From docs in the fab command, use the -P option. For instance:

 $ fab -R role_name -P -- du 
+2
source

Source: https://habr.com/ru/post/1415644/


All Articles