8 lines
148 B
Bash
8 lines
148 B
Bash
|
#!/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
|