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/strategy_free/runme.sh

11 lines
206 B
Bash

#!/usr/bin/env bash
set -eux
export ANSIBLE_STRATEGY=free
set +e
result="$(ansible-playbook test_last_include_in_always.yml -i inventory "$@" 2>&1)"
set -e
grep -q "INCLUDED TASK EXECUTED" <<< "$result"