summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/adhoc/runme.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/targets/adhoc/runme.sh')
-rwxr-xr-xtest/integration/targets/adhoc/runme.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/integration/targets/adhoc/runme.sh b/test/integration/targets/adhoc/runme.sh
index 4ef076eb96..eda6d66192 100755
--- a/test/integration/targets/adhoc/runme.sh
+++ b/test/integration/targets/adhoc/runme.sh
@@ -4,3 +4,6 @@ set -eux
# run type tests
ansible -a 'sleep 20' --task-timeout 5 localhost |grep 'The command action failed to execute in the expected time frame (5) and was terminated'
+
+# -a parsing with json
+ansible --task-timeout 5 localhost -m command -a '{"cmd": "whoami"}' | grep 'rc=0'