diff options
Diffstat (limited to 'test/integration/targets/inventory_script/inventory.sh')
-rwxr-xr-x | test/integration/targets/inventory_script/inventory.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/integration/targets/inventory_script/inventory.sh b/test/integration/targets/inventory_script/inventory.sh new file mode 100755 index 0000000..b3f1d03 --- /dev/null +++ b/test/integration/targets/inventory_script/inventory.sh @@ -0,0 +1,7 @@ +#!/bin/sh +# This script mimics the output from what the contrib/inventory/vmware_inventory.py +# dynamic inventory script produced. +# This ensures we are still covering the same code that the original tests gave us +# and subsequently ensures that ansible-inventory produces output consistent with +# that of a dynamic inventory script +cat inventory.json |