X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fpackaging%2Fsetup-ansible-rpm.sh;h=7cac73e582e3be0d47254e92365bee2dcfe28139;hb=5f2492cae9fcc63fc22648f7fb1a553513eb5cd2;hp=eec7cbf037408381a46746d7faef81b3d53af24a;hpb=7154454605f0ac309e19c9adffb185771ac9be3f;p=releng%2Fbuilder.git diff --git a/jjb/packaging/setup-ansible-rpm.sh b/jjb/packaging/setup-ansible-rpm.sh index eec7cbf03..7cac73e58 100644 --- a/jjb/packaging/setup-ansible-rpm.sh +++ b/jjb/packaging/setup-ansible-rpm.sh @@ -8,6 +8,7 @@ set -ex -o pipefail # Install required packages virtualenv rpm_build +# shellcheck disable=SC1091 source rpm_build/bin/activate PYTHON="rpm_build/bin/python" $PYTHON -m pip install --upgrade pip @@ -20,4 +21,4 @@ sudo yum 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