summaryrefslogtreecommitdiffstats
path: root/roles/openshift_aws/tasks/uninstall_security_group.yml
blob: 55d40e8ecf93973ab3beee7b5b5e1abe5638f57d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
---
- name: delete the node group sgs
  oo_ec2_group:
    state: absent
    name: "{{ item.value.name}}"
    region: "{{ openshift_aws_region }}"
  with_dict: "{{ openshift_aws_node_security_groups }}"

- name: delete the k8s sgs for the node group
  oo_ec2_group:
    state: absent
    name: "{{ item.value.name }}_k8s"
    region: "{{ openshift_aws_region }}"
  with_dict: "{{ openshift_aws_node_security_groups }}"