changed logic to create a 2 dc silent install file from the start
diff --git a/templates/baas-silent-install.conf.j2 b/templates/baas-silent-install.conf.j2
index 3848213..b833f5c 100644
--- a/templates/baas-silent-install.conf.j2
+++ b/templates/baas-silent-install.conf.j2
@@ -21,7 +21,7 @@
 # Specify BaaS Cassandra connection information.
 # Specify the data center name.
 # Default is dc-1.
-{% if groups['dc-1'] is defined and inventory_hostname in groups['dc-1'] %}
+{% if groups['dc-1'] is defined and inventory_hostname in groups['dc-1'] and groups['dc-2'] is not defined %}
 BAAS_CASS_LOCALDC=dc-1
 BAAS_CASS_DC_LIST=dc-1
 REGION=dc-1
@@ -29,7 +29,7 @@
 {% if opdk_version == '4.17.01' %}
 BAAS_CLUSTER_SEEDS="{% for host in groups['dc-1-baas'] %}dc-1:{{ hostvars[host][interface_name].ipv4.address }}{% if not loop.last %},{% endif %}{% endfor %}"
 {% endif %}
-{% elif groups['dc-2'] is defined and inventory_hostname in groups['dc-2'] %}
+{% elif groups['dc-2'] is defined %}
 BAAS_CASS_LOCALDC=dc-2
 BAAS_CASS_DC_LIST=dc-1,dc-2
 REGION=dc-2