blob: e390e82470f7b4b8bc85f245c062a7b4e5e23aea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/usr/bin/env bash
set -eux
ALOG=${OUTPUT_DIR}/ansilbe_log_test.log
ansible-playbook logit.yml
[ ! -f "${ALOG}" ]
ANSIBLE_LOG_PATH=${ALOG} ansible-playbook logit.yml
[ -f "${ALOG}" ]
grep -q 'ping' "${ALOG}"
|