Guillaume Coré
2017-09-28 bb9f98de00f4d61c6760cfff9251fc0f4a8e95b7
refs
author Guillaume Coré <gucore@redhat.com>
Thursday, September 28, 2017 10:48 +0200
committer Guillaume Coré <guillaume.core@gmail.com>
Thursday, September 28, 2017 10:58 +0200
commitbb9f98de00f4d61c6760cfff9251fc0f4a8e95b7
tree 92f61fd5ed059758145358c011277b20ce230139 tree | zip | gz
parent 8776cd532cdf0064f7af6f37bc875423718258e3 view | diff
add do-until loop for cloudformation destroy

When we trigger several destroy actions at the same time, it happens that the
cloudformation module fail because of AWS MaxRequest/s policy (Throttling).

This commit adds:
- retry 5 times
- wait 1 minute between retry

This should help ensure each stack is properly destroyed.
11 files modified
129 ■■■■■ changed files
ansible/cloud_providers/ec2_infrastructure_deployment.yml 9 ●●●●● diff | view | raw | blame | history
ansible/configs/ans-tower-lab/destroy_env.yml 10 ●●●●● diff | view | raw | blame | history
ansible/configs/ansible-provisioner/destroy_env.yml 10 ●●●●● diff | view | raw | blame | history
ansible/configs/generic-example/destroy_env.yml 10 ●●●●● diff | view | raw | blame | history
ansible/configs/ocp-demo-lab/destroy_env.yml 20 ●●●●● diff | view | raw | blame | history
ansible/configs/ocp-ha-lab/destroy_env.yml 10 ●●●●● diff | view | raw | blame | history
ansible/configs/ocp-implementation-lab/destroy_env.yml 10 ●●●●● diff | view | raw | blame | history
ansible/configs/ocp-workshop/destroy_env.yml 20 ●●●●● diff | view | raw | blame | history
ansible/configs/opentlc-shared/destroy_env.yml 10 ●●●●● diff | view | raw | blame | history
ansible/configs/single-ipa/destroy_env.yml 10 ●●●●● diff | view | raw | blame | history
ansible/configs/three-tier-app/destroy_env.yml 10 ●●●●● diff | view | raw | blame | history