summaryrefslogtreecommitdiff
path: root/test/integration/targets/meta_tasks
diff options
context:
space:
mode:
authorRick Elrod <rick@elrod.me>2020-08-20 13:48:10 -0500
committerGitHub <noreply@github.com>2020-08-20 13:48:10 -0500
commite5bb7b1a16828abc981ad600e243f8f61a5aec86 (patch)
treea4f479f0aeaa40cbd8eb3580f4c59750ed9a08ac /test/integration/targets/meta_tasks
parenta479b003e856438fb8787afaf7fabfa5d165ea01 (diff)
downloadansible-e5bb7b1a16828abc981ad600e243f8f61a5aec86.tar.gz
Add skip_reason to meta task skips (#71355)
Change: - Make them more consistent with other tasks. Test Plan: - CI, new test Tickets: - Refs #71009 Signed-off-by: Rick Elrod <rick@elrod.me>
Diffstat (limited to 'test/integration/targets/meta_tasks')
-rwxr-xr-xtest/integration/targets/meta_tasks/runme.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/integration/targets/meta_tasks/runme.sh b/test/integration/targets/meta_tasks/runme.sh
index b617965df4..b8defed26d 100755
--- a/test/integration/targets/meta_tasks/runme.sh
+++ b/test/integration/targets/meta_tasks/runme.sh
@@ -8,6 +8,7 @@ for test_strategy in linear free; do
grep -q "META: end_host conditional evaluated to false, continuing execution for testhost" <<< "$out"
grep -q "META: ending play for testhost2" <<< "$out"
+ grep -q '"skip_reason": "end_host conditional evaluated to False, continuing execution for testhost"' <<< "$out"
grep -q "play not ended for testhost" <<< "$out"
grep -qv "play not ended for testhost2" <<< "$out"
done