From e84b1ddb2b399ec02bbdbb6bd1759eda04d7d56b Mon Sep 17 00:00:00 2001 From: Spencer Krum Date: Mon, 11 Apr 2016 13:18:50 -0700 Subject: [PATCH] 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 --- run_all.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run_all.sh b/run_all.sh index 6ac903026c..403bf5bde1 100755 --- a/run_all.sh +++ b/run_all.sh @@ -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