Files
homelab/infra-config/10-sno-hub-cluster/04-matchbox/templates/groups.tf.j2
2025-05-12 15:29:42 -05:00

9 lines
358 B
Django/Jinja

// Matcher group for OCP Internal machines
resource "matchbox_group" "{{ hostvars[groups['hub_cluster'][0]].cluster_name }}" {
name = "{{ hostvars['ocp-hub'].hostname }}" # Physical Server
profile = matchbox_profile.openshift-agent-install.name
selector = {
mac = "{{ hostvars['ocp-hub'].mac_address }}" # PXE boots and installs to 10GbE NIC
}
}