summaryrefslogtreecommitdiffstats
path: root/roles/openshift_aws/tasks/security_group_create.yml
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2017-12-01 21:39:00 -0500
committerKenny Woodson <kwoodson@redhat.com>2017-12-11 16:39:27 -0500
commit35c1abb6050f2cd1f31396edd42618a2998bd546 (patch)
treedfb31882e7eb459b173ea206a89bc834aba10dd0 /roles/openshift_aws/tasks/security_group_create.yml
parenta53b8f63175c80c9d0a8d590fd0854e2ed8e1aae (diff)
downloadopenshift-35c1abb6050f2cd1f31396edd42618a2998bd546.tar.gz
openshift-35c1abb6050f2cd1f31396edd42618a2998bd546.tar.bz2
openshift-35c1abb6050f2cd1f31396edd42618a2998bd546.tar.xz
openshift-35c1abb6050f2cd1f31396edd42618a2998bd546.zip
Changing the node group format to a list.
Diffstat (limited to 'roles/openshift_aws/tasks/security_group_create.yml')
-rw-r--r--roles/openshift_aws/tasks/security_group_create.yml25
1 files changed, 0 insertions, 25 deletions
diff --git a/roles/openshift_aws/tasks/security_group_create.yml b/roles/openshift_aws/tasks/security_group_create.yml
deleted file mode 100644
index cafd09d82..000000000
--- a/roles/openshift_aws/tasks/security_group_create.yml
+++ /dev/null
@@ -1,25 +0,0 @@
----
-- name: create the node group sgs
- oo_ec2_group:
- name: "{{ item.value.name}}"
- description: "{{ item.value.desc }}"
- rules: "{{ item.value.rules if 'rules' in item.value else [] }}"
- region: "{{ openshift_aws_region }}"
- vpc_id: "{{ vpcout.vpcs[0].id }}"
- with_dict: "{{ l_security_groups }}"
-
-- name: create the k8s sgs for the node group
- oo_ec2_group:
- name: "{{ item.value.name }}_k8s"
- description: "{{ item.value.desc }} for k8s"
- region: "{{ openshift_aws_region }}"
- vpc_id: "{{ vpcout.vpcs[0].id }}"
- with_dict: "{{ l_security_groups }}"
- register: k8s_sg_create
-
-- name: tag sg groups with proper tags
- ec2_tag:
- tags: "{{ openshift_aws_security_groups_tags }}"
- resource: "{{ item.group_id }}"
- region: "{{ openshift_aws_region }}"
- with_items: "{{ k8s_sg_create.results }}"