d5c17118ed
* AnsibleAWSModule related cleanup - s3_bucket * Add extra information to s3_bucket timeout failures, it's possible the comparisons are doing something weird... * Move Bucket Encryption boto support logic into the pre-flight checks * Use the built in required_by logic * Rework s3_bucket integration tests * Add a retry around put_bucket_encryption s3_client.put_bucket_encryption is occasionally dropped on the floor by Amazon add some logic to retry s3_client.put_bucket_encryption call * Catch OperationAborted and retry, it is caused by a conflicting change still being in progress. (For example an Encryption setting applying) * Make sure we don't explode if the botocore version's too old * Review tweaks
12 lines
311 B
Bash
Executable file
12 lines
311 B
Bash
Executable file
#!/usr/bin/env bash
|
|
#
|
|
# Beware: most of our tests here are run in parallel.
|
|
# To add new tests you'll need to add a new host to the inventory and a matching
|
|
# '{{ inventory_hostname }}'.yml file in roles/ec2_instance/tasks/
|
|
|
|
|
|
set -eux
|
|
|
|
export ANSIBLE_ROLES_PATH=../
|
|
|
|
ansible-playbook main.yml -i inventory "$@"
|