summaryrefslogtreecommitdiffstats
path: root/playbooks/aws
diff options
context:
space:
mode:
authorJoel Diaz <jdiaz@redhat.com>2018-02-02 00:37:48 +0000
committerJoel Diaz <jdiaz@redhat.com>2018-02-02 21:05:35 +0000
commit0daad23f9b61e1b58ce295059c98605aaa8062f2 (patch)
tree92fe8ac966a36f488b718705cb186fad726e530d /playbooks/aws
parent4fe88b001295566d49db1fe711870bf43c40c1ab (diff)
downloadopenshift-0daad23f9b61e1b58ce295059c98605aaa8062f2.tar.gz
openshift-0daad23f9b61e1b58ce295059c98605aaa8062f2.tar.bz2
openshift-0daad23f9b61e1b58ce295059c98605aaa8062f2.tar.xz
openshift-0daad23f9b61e1b58ce295059c98605aaa8062f2.zip
add deprovisioning for ELB (and IAM certs)
add playbooks to handle deleting ELBs and any IAM certs that may have been created during provisioning. redo ELB creation to remove arbitrary wait and just retry until ELB creation succeeds
Diffstat (limited to 'playbooks/aws')
-rw-r--r--playbooks/aws/openshift-cluster/uninstall_elb.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/playbooks/aws/openshift-cluster/uninstall_elb.yml b/playbooks/aws/openshift-cluster/uninstall_elb.yml
new file mode 100644
index 000000000..c1b724f0c
--- /dev/null
+++ b/playbooks/aws/openshift-cluster/uninstall_elb.yml
@@ -0,0 +1,9 @@
+---
+- name: Delete elb
+ hosts: localhost
+ connection: local
+ tasks:
+ - name: deprovision elb
+ include_role:
+ name: openshift_aws
+ tasks_from: uninstall_elb.yml