Files
homelab/templates/matchbox/groups.tf.j2

9 lines
305 B
Django/Jinja

// Matcher group for OCP Internal machines
resource "matchbox_group" "{{hub_cluster_name}}" {
name = "{{hub_cluster_hostname}}" # Physical Server
profile = matchbox_profile.openshift-agent-install.name
selector = {
mac = "{{hub_cluster_mac_address}}" # PXE boots and installs to 10GbE NIC
}
}