Debian Codegraph @

test/integration/targets/unarchive/runme.sh

raw
1 #!/usr/bin/env bash
2
3 set -eux
4
5 ansible-playbook -i ../../inventory runme.yml -v "$@"
6
7 # https://github.com/ansible/ansible/issues/80710
8 ANSIBLE_REMOTE_TMP=./ansible ansible-playbook -i ../../inventory test_relative_tmp_dir.yml -v "$@"
9
10 # ensure uri inline secrets are masked
11 ULOG="${OUTPUT_DIR}/$$-unarchive.log"
12 ansible-playbook auth_mask.yml -i ../../inventory "$@" 2>&1 | tee "${ULOG}"
13 [ "$(grep -Ec 'secret' "${ULOG}")" = "0" ]