uninstall_elb.yml 342 B

1234567891011
  1. ---
  2. - name: delete elbs
  3. ec2_elb_lb:
  4. name: "{{ item }}"
  5. region: "{{ openshift_aws_region }}"
  6. state: absent
  7. with_items: "{{ openshift_aws_elb_dict | json_query('*.*.name') | sum(start = []) }}"
  8. - when: openshift_aws_create_iam_cert | bool
  9. name: delete the iam_cert for elb certificate
  10. include_tasks: uninstall_iam_cert.yml