update node lables for tenant-ceph and nova
[yaml_builds.git] / site_type / sriov-a13 / templates / baremetal / nodes.j2
index e786d86..20f978b 100644 (file)
@@ -143,7 +143,11 @@ data:
     - network: calico
       address: {{server.ksn}}
   # NEWSITE-CHANGEME: The next node's host profile
+{% if loop.index < 3 %}
   host_profile: cp_r720-primary
+{% else %}
+  host_profile: cp_r720-secondary
+{% endif %}
   metadata:
     # NEWSITE-CHANGEME: The next node's rack designation
     rack: cab23