mirror of
https://github.com/zahodi/ansible-mikrotik.git
synced 2025-08-03 17:45:09 +02:00
add integration runner test
This commit is contained in:
parent
675b17bc09
commit
f48bdb0d9e
1 changed files with 10 additions and 0 deletions
10
tests/integration/run_tests.sh
Normal file
10
tests/integration/run_tests.sh
Normal file
|
@ -0,0 +1,10 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
ABSOLUTE_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
pushd .
|
||||
|
||||
cd "$ABSOLUTE_PATH"
|
||||
export PYTHONPATH=./pythonlibs/
|
||||
ansible-playbook tests.yml --diff -i 127.0.0.1, $@
|
||||
|
||||
popd >/dev/null
|
Loading…
Add table
Add a link
Reference in a new issue