You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration/targets/ansible_log/runme.sh

13 lines
213 B
Bash

#!/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}"