From 5e283fd6ccd9c46e3c9bdeb40b2ef69fa006ffce Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Thu, 23 Apr 2015 09:48:24 -0700 Subject: [PATCH] Run more puppet agents at a time with ansible Our current puppet run_all.sh script takes almost 45 minutes to run puppet agent on all of our nodes. We are using the default concurrency of 5. Our puppet master should be able to handle a bit more than that. Run the git/gerrit playbook with a concurrency of 10 and everything else with a concurrency of 20. Change-Id: Ia09abb6fa8c699e156aed38d86ce6fd193f3a42d --- run_all.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run_all.sh b/run_all.sh index dc8b825670..184e9196f5 100755 --- a/run_all.sh +++ b/run_all.sh @@ -36,9 +36,9 @@ set +e # First run the git/gerrit sequence, since it's important that they all work # together -ansible-playbook /etc/ansible/playbooks/remote_puppet_git.yaml +ansible-playbook -f 10 /etc/ansible/playbooks/remote_puppet_git.yaml # Run AFS changes separately so we can make sure to only do one at a time # (turns out quorum is nice to have) ansible-playbook -f 1 /etc/ansible/playbooks/remote_puppet_afs.yaml # Run everything else. We do not care if the other things worked -ansible-playbook /etc/ansible/playbooks/remote_puppet_else.yaml +ansible-playbook -f 20 /etc/ansible/playbooks/remote_puppet_else.yaml