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
This commit is contained in:
parent
7569f4e764
commit
5e283fd6cc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user