mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-08-24 06:51:50 -07:00
Refactor inventory_gce tests to make the linter happy
This commit is contained in:
parent
9bdfba5e5c
commit
5cd81072c4
7 changed files with 5 additions and 5 deletions
|
@ -11,7 +11,7 @@ RC=0
|
|||
# we want to run teardown regardless of playbook exit status, so catch the
|
||||
# exit code of ansible-playbook manually
|
||||
set +e
|
||||
for ts in playbooks/testcase_*.yml;
|
||||
for ts in testcase_*.yml;
|
||||
do
|
||||
testcase=$( basename "$ts" | sed -e 's/testcase_//' | sed -e 's/.yml//' )
|
||||
ansible-playbook playbooks/test.yml "$@" --extra-vars "testcase=${testcase}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue