diff options
Diffstat (limited to 'xci')
-rw-r--r-- | xci/files/xci-lib.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xci/files/xci-lib.sh b/xci/files/xci-lib.sh index cb0751da..ba730772 100644 --- a/xci/files/xci-lib.sh +++ b/xci/files/xci-lib.sh @@ -199,7 +199,7 @@ ansible_lint() { set -eu local playbooks_dir=(xci/playbooks xci/installer/osa/playbooks xci/installer/kubespray/playbooks) # Extract role from scenario information - local testing_role=$(sed -n "/^- scenario: ${DEPLOY_SCENARIO}/,/^$/p" ${XCI_PATH}/xci/opnfv-scenario-requirements.yml | grep role | rev | cut -d '/' -f -1 | rev) + local testing_role=$(sed -n "/^- scenario: ${DEPLOY_SCENARIO}$/,/^$/p" ${XCI_PATH}/xci/opnfv-scenario-requirements.yml | grep role | rev | cut -d '/' -f -1 | rev) # clear XCI_CACHE rm -rf ${XCI_CACHE}/repos/openstack-ansible-tests |