From d17d0ad070e390fc5cde2cc2f002eacf7c52edd9 Mon Sep 17 00:00:00 2001 From: Ali Maredia Date: Mon, 31 Jul 2017 16:37:42 -0400 Subject: [PATCH] chcacra-pull-requests: cleanup repos before ansible runs Signed-off-by: Ali Maredia --- chacra-pull-requests/build/build | 5 +++++ 1 file changed, 5 insertions(+) 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" -- 2.39.5