diff --git a/salt/utils/parsers.py b/salt/utils/parsers.py index 0e449342df..1c7c1a6ea8 100644 --- a/salt/utils/parsers.py +++ b/salt/utils/parsers.py @@ -1553,6 +1553,15 @@ class SaltSSHOptionParser(OptionParser, ConfigDirMixIn, MergeConfigMixIn, 'target\'s data. This is needed if a target\'s grains have ' 'been changed and the auto refresh timeframe has not been ' 'reached.')) + self.add_option( + '--ssh-max-procs', + dest='ssh_max_procs', + default=5, + type=int, + help='Set the number of concurrent minions to communicate with. ' + 'This value defines how many processes are opened up at a ' + 'time to manage connections, the more running processes the ' + 'faster communication should be, default is 5') def _mixin_after_parsed(self): if self.options.list: