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/script_inventory_ec2/ec2.sh

6 lines
245 B
Bash

#!/usr/bin/env bash
# Wrapper to use the correct Python interpreter and support code coverage.
ABS_SCRIPT=$(python -c "import os; print(os.path.abspath('../../../../contrib/inventory/ec2.py'))")
cd "${OUTPUT_DIR}"
python.py "${ABS_SCRIPT}" "$@"