diff options
Diffstat (limited to 'test/integration/targets/inventory_yaml/runme.sh')
-rwxr-xr-x | test/integration/targets/inventory_yaml/runme.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/integration/targets/inventory_yaml/runme.sh b/test/integration/targets/inventory_yaml/runme.sh new file mode 100755 index 0000000..a8818dd --- /dev/null +++ b/test/integration/targets/inventory_yaml/runme.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash + +# handle empty/commented out group keys correctly https://github.com/ansible/ansible/issues/47254 +ANSIBLE_VERBOSITY=0 diff -w <(ansible-inventory -i ./test.yml --list) success.json + +ansible-inventory -i ./test_int_hostname.yml --list 2>&1 | grep 'Host pattern 1234 must be a string' |