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

9 lines
254 B
Bash

#!/usr/bin/env bash
set -eux
# check if we get proper json error
ANSIBLE_DISPLAY_TRACEBACK=always ansible-playbook -i ../../inventory attempt_to_load_invalid_json.yml "$@" 2>&1 | grep 'parsing failed: Did not find expected <document start>'
echo PASS