summaryrefslogtreecommitdiffstats
path: root/roles/openshift_aws/tasks/uninstall_elb.yml
blob: 147e9a9055cfc9bf6c01680e266e85f7f335ff82 (plain)
1
2
3
4
5
6
7
8
9
10
11
---
- name: delete elbs
  ec2_elb_lb:
    name: "{{ item }}"
    region: "{{ openshift_aws_region }}"
    state: absent
  with_items: "{{ openshift_aws_elb_dict | json_query('*.*.name') | sum(start = []) }}"

- when: openshift_aws_create_iam_cert | bool
  name: delete the iam_cert for elb certificate
  include_tasks: uninstall_iam_cert.yml