X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fpackaging%2Fsetup-ansible-deb.sh;h=f6151c6ac745afbd68370e6c209c5b723c98b65f;hb=9477a94eed604f9989cd61659491e5339708a088;hp=4a64b8763b926d541941444907b8f293b39d0f76;hpb=7154454605f0ac309e19c9adffb185771ac9be3f;p=releng%2Fbuilder.git diff --git a/jjb/packaging/setup-ansible-deb.sh b/jjb/packaging/setup-ansible-deb.sh index 4a64b8763..f6151c6ac 100644 --- a/jjb/packaging/setup-ansible-deb.sh +++ b/jjb/packaging/setup-ansible-deb.sh @@ -8,6 +8,7 @@ set -ex -o pipefail # Install required packages virtualenv deb_build +# shellcheck disable=SC1091 source deb_build/bin/activate PYTHON="deb_build/bin/python" $PYTHON -m pip install --upgrade pip @@ -27,4 +28,4 @@ sudo apt-get install -y ansible # expects the dir containing the role to have the name of role. The JJB project # is called "ansible", which causes the cloned repo name to not match the role # name "opendaylight". So we need a cp/mv either way and this is simplest. -sudo cp -R $WORKSPACE/ansible /etc/ansible/roles/opendaylight +sudo cp -R "$WORKSPACE"/packaging-ansible /etc/ansible/roles/opendaylight