6d978bc285
* Add the constructed config with legacy settings enabled to match the script * Add interesting characters in tags and security group names * add strict to config * Add a stopped instance in inventory * Create symlinks in the test * Add reservation details to mock * run script and plugin with a virtual env * call the script with ansible-inventory * Fix code coverage collection.
5 lines
245 B
Bash
Executable file
5 lines
245 B
Bash
Executable file
#!/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}" "$@"
|