ansible: bump up default fork level
authorGregory Szorc <gps@mozilla.com>
Tue, 21 Apr 2015 15:02:39 -0700
changeset 360700 573156744d5cd37d25de7db1b5c21b2d36c13c27
parent 360699 28de316ad21bbe6972d9e2101b0b62921867caa6
child 360701 e40c78e67098b464d7f1e3a38780b5f7ac5ed323
push id16998
push userrwood@mozilla.com
push dateMon, 02 May 2016 19:42:03 +0000
ansible: bump up default fork level Ansible defaults to 5 forks. We have pools with 10 servers. Bump up the default limit. It should be relatively harmless to do this universally.
testing/vcttesting/deploy.py
--- a/testing/vcttesting/deploy.py
+++ b/testing/vcttesting/deploy.py
@@ -19,16 +19,17 @@ logger = logging.getLogger(__name__)
 
 
 def run_playbook(name, extra_vars=None, verbosity=0):
     extra_vars = extra_vars or {}
 
     args = [
         'ansible-playbook',
         '-i', os.path.join(ANSIBLE, 'hosts'),
+        '-f', '20',
         '%s.yml' % name,
         '--extra-vars', json.dumps(extra_vars),
     ]
     if verbosity:
         args.append('-%s' % ('v' * verbosity))
 
     logger.info('$ %s' % ' '.join([quote(a) for a in args]))
     return subprocess.call(args, cwd=ANSIBLE)