Run less parallelism in ansible
We are running into memory contention and ooming out on ansible-playbook. Less workers = more ram, hope. We can also move puppetmaster.o.o to a host with more ram (it only has 2G right now.) We can also disable the apache/passenger/puppet that is running on the host. Change-Id: Id5ade889748d5e8f65a8ea68cc64b0c071c6a627
This commit is contained in:
parent
16de26fcd1
commit
e84b1ddb2b
@ -28,7 +28,7 @@ ANSIBLE_PLAYBOOKS=$SYSTEM_CONFIG/playbooks
|
||||
set +e
|
||||
|
||||
# First, sync the puppet repos with all the machines
|
||||
ansible-playbook -f 20 ${ANSIBLE_PLAYBOOKS}/update_puppet.yaml
|
||||
ansible-playbook -f 10 ${ANSIBLE_PLAYBOOKS}/update_puppet.yaml
|
||||
# Run the git/gerrit sequence, since it's important that they all work together
|
||||
ansible-playbook -f 10 ${ANSIBLE_PLAYBOOKS}/remote_puppet_git.yaml
|
||||
# Run AFS changes separately so we can make sure to only do one at a time
|
||||
@ -36,4 +36,4 @@ ansible-playbook -f 10 ${ANSIBLE_PLAYBOOKS}/remote_puppet_git.yaml
|
||||
ansible-playbook -f 1 ${ANSIBLE_PLAYBOOKS}/remote_puppet_afs.yaml
|
||||
ansible-playbook -f 10 ${ANSIBLE_PLAYBOOKS}/remote_puppet_infracloud.yaml
|
||||
# Run everything else. We do not care if the other things worked
|
||||
ansible-playbook -f 20 ${ANSIBLE_PLAYBOOKS}/remote_puppet_else.yaml
|
||||
ansible-playbook -f 10 ${ANSIBLE_PLAYBOOKS}/remote_puppet_else.yaml
|
||||
|
Loading…
x
Reference in New Issue
Block a user