summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/async_extra_data/runme.sh
blob: 46132731fe9a81bc4e9a061894dc86cb24457994 (plain)
1
2
3
4
5
6
7
#!/usr/bin/env bash

set -eux

# Verify that extra data before module JSON output during async call is ignored, and that the warning exists.
ANSIBLE_DEBUG=0 ansible-playbook -i ../../inventory test_async.yml -v "$@" \
    | grep 'junk after the JSON data: junk_after_module_output'