uninstall_security_group.yml 418 B

1234567891011121314
  1. ---
  2. - name: delete the node group sgs
  3. oo_ec2_group:
  4. state: absent
  5. name: "{{ item.value.name}}"
  6. region: "{{ openshift_aws_region }}"
  7. with_dict: "{{ openshift_aws_node_security_groups }}"
  8. - name: delete the k8s sgs for the node group
  9. oo_ec2_group:
  10. state: absent
  11. name: "{{ item.value.name }}_k8s"
  12. region: "{{ openshift_aws_region }}"
  13. with_dict: "{{ openshift_aws_node_security_groups }}"