Pārlūkot izejas kodu

Remove deployment-type tags

Jason DeTiberus 10 gadi atpakaļ
vecāks
revīzija
0ecefd20d0

+ 1 - 2
playbooks/aws/openshift-cluster/tasks/launch_instances.yml

@@ -26,7 +26,6 @@
       env: "{{ env }}"
       host-type: "{{ host_type }}"
       env-host-type: "{{ env_host_type }}"
-      deployment-type: "{{ deployment_type }}"
   register: ec2
 
 - name: Add Name tag to instances
@@ -39,7 +38,7 @@
       Name: "{{ item.0 }}"
 
 - set_fact:
-    instance_groups: tag_created-by_{{ created_by }}, tag_env_{{ env }}, tag_host-type_{{ host_type }}, tag_env-host-type_{{ env_host_type }}, tag_deployment-type_{{ deployment_type }}
+    instance_groups: tag_created-by_{{ created_by }}, tag_env_{{ env }}, tag_host-type_{{ host_type }}, tag_env-host-type_{{ env_host_type }}
 
 - name: Add new instances groups and variables
   add_host:

+ 0 - 1
playbooks/gce/openshift-cluster/tasks/launch_instances.yml

@@ -15,7 +15,6 @@
       - env-{{ cluster }}
       - host-type-{{ type }}
       - env-host-type-{{ cluster }}-openshift-{{ type }}
-      - deployment-type-{{ deployment_type }}
   register: gce
 
 - name: Add new instances to groups and set variables needed

+ 0 - 1
playbooks/libvirt/openshift-cluster/templates/domain.xml

@@ -3,7 +3,6 @@
   <memory unit='GiB'>1</memory>
   <metadata xmlns:ansible="https://github.com/ansible/ansible">
     <ansible:tags>
-      <ansible:tag>deployment-type-{{ deployment_type }}</ansible:tag>
       <ansible:tag>env-{{ cluster }}</ansible:tag>
       <ansible:tag>env-host-type-{{ cluster }}-openshift-{{ type }}</ansible:tag>
       <ansible:tag>host-type-{{ type }}</ansible:tag>