ansible/test/integration/targets/special_vars_hosts/runme.sh

8 lines
148 B
Bash
Raw Normal View History

#!/usr/bin/env bash
set -eux
ansible-playbook -i ./inventory playbook.yml "$@" | tee out.txt
grep 'unreachable=2' out.txt
grep 'failed=2' out.txt