summaryrefslogtreecommitdiff
path: root/test/integration/targets/fetch/runme.sh
blob: 734b881093e4feb83b7a44cb7040f7f8960c71dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env bash

set -eux

# setup required roles
ln -s ../../prepare_tests roles/prepare_tests

# run old type role tests
ansible-playbook -i ../../inventory run_fetch_tests.yml -e "output_dir=${OUTPUT_DIR}" -v "$@"

# run tests to avoid path injection from slurp when fetch uses become
ansible-playbook -i ../../inventory injection/avoid_slurp_return.yml -e "output_dir=${OUTPUT_DIR}" -v "$@"