10 lines
395 B
Bash
Executable file
10 lines
395 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -eux
|
|
|
|
# http://unix.stackexchange.com/questions/30091/fix-or-alternative-for-mktemp-in-os-x
|
|
MYTMPDIR=$(shell mktemp -d 2>/dev/null || mktemp -d -t 'ansible-testing-XXXXXXXXXX')
|
|
trap 'rm -rf "${MYTMPDIR}"' EXIT
|
|
|
|
# test for https://github.com/ansible/ansible/issues/13688
|
|
ansible-pull -d "${MYTMPDIR}" -U https://github.com/ansible-test-robinro/pull-integration-test "$@"
|