You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration/targets/fetch/runme.sh

15 lines
439 B
Bash

#!/usr/bin/env bash
set -eux
OUTPUT_DIR=${OUTPUT_DIR:-$(mktemp -d)}
# 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 "$@"