83764ad506
* Fix async interpreter parsing. Fixes #70690 * Target localhost instead of remote host * Don't forget inventory * Address shellcheck issue
9 lines
266 B
Bash
Executable file
9 lines
266 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -eux
|
|
|
|
trap 'umount "${OUTPUT_DIR}/ramdisk"' EXIT
|
|
|
|
mkdir "${OUTPUT_DIR}/ramdisk"
|
|
mount -t tmpfs -o size=32m,noexec,rw tmpfs "${OUTPUT_DIR}/ramdisk"
|
|
ANSIBLE_REMOTE_TMP="${OUTPUT_DIR}/ramdisk" ansible-playbook -i inventory "$@" test-noexec.yml
|