From: Ali Maredia Date: Mon, 31 Jul 2017 20:37:42 +0000 (-0400) Subject: chcacra-pull-requests: cleanup repos before ansible runs X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=d17d0ad070e390fc5cde2cc2f002eacf7c52edd9;p=ceph-build.git chcacra-pull-requests: cleanup repos before ansible runs Signed-off-by: Ali Maredia --- diff --git a/chacra-pull-requests/build/build b/chacra-pull-requests/build/build index d313c3eb..6fc7c592 100644 --- a/chacra-pull-requests/build/build +++ b/chacra-pull-requests/build/build @@ -7,6 +7,11 @@ install_python_packages "pkgs[@]" # run ansible to get this current host to meet our requirements, specifying # a local connection and 'localhost' as the host where to execute cd "$WORKSPACE/ceph-build/chacra-pull-requests/setup/playbooks" + +# make sure any shaman list file is removed. At some point if all nodes +# are clean this will not be needed. +sudo rm -f /etc/apt/sources.list.d/shaman* + $VENV/ansible-playbook -i "localhost," -c local setup.yml cd "$WORKSPACE/chacra"