ansible/test/integration/targets/ec2_launch_template/runme.sh

16 lines
373 B
Bash
Raw Normal View History

#!/usr/bin/env bash
set -eux
export ANSIBLE_ROLES_PATH=../
# Test graceful failure for older versions of botocore
source virtualenv.sh
pip install 'boto3<1.6.0'
ansible-playbook -i ../../inventory -v playbooks/version_fail.yml "$@"
# Run full test suite
source virtualenv.sh
pip install 'boto3>1.6.0'
ansible-playbook -i ../../inventory -v playbooks/full_test.yml "$@"