Browse Source

Remove bootstrap boolean from gcp provision

This commit removes unnecessary boolean from gcp
provisioning script.
Michael Gugino 7 years ago
parent
commit
bce80e6cb1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      roles/openshift_gcp/templates/provision.j2.sh

+ 1 - 1
roles/openshift_gcp/templates/provision.j2.sh

@@ -104,7 +104,7 @@ fi ) &
     if ! gcloud --project "{{ openshift_gcp_project }}" compute instance-templates describe "{{ openshift_gcp_prefix }}instance-template-{{ node_group.name }}" &>/dev/null; then
         gcloud --project "{{ openshift_gcp_project }}" compute instance-templates create "{{ openshift_gcp_prefix }}instance-template-{{ node_group.name }}" \
                 --machine-type "{{ node_group.machine_type }}" --network "{{ openshift_gcp_network_name }}" \
-                --tags "{{ openshift_gcp_prefix }}ocp,ocp,{{ 'ocp-bootstrap,' if (node_group.bootstrap | default(False)) else '' }}{{ node_group.tags }}" \
+                --tags "{{ openshift_gcp_prefix }}ocp,ocp,ocp-bootstrap,{{ node_group.tags }}" \
                 --boot-disk-size "{{ node_group.boot_disk_size }}" --boot-disk-type "pd-ssd" \
                 --scopes "logging-write,monitoring-write,useraccounts-ro,service-control,service-management,storage-ro,compute-rw" \
                 --image "{{ node_group.image | default('${image}') }}" ${metadata}  \