blob: a8818dd99bb16a094b863b34935568bf7a54d2b4 (
plain)
1
2
3
4
5
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'
|