Update inventory and matchbox configuration

This commit is contained in:
2025-03-22 23:54:24 -05:00
parent 2df2d32696
commit 6c0d599c0e
5 changed files with 18 additions and 10 deletions

View File

@@ -1,7 +1,5 @@
---
- name: OpenShift image creation
ansible.builtin.command:
cmd: /usr/local/bin/openshift-install agent create pxe-files
chdir: 03-matchbox
register: command_result
ignore_errors: yes
ansible.builtin.command: /usr/local/bin/openshift-install agent create pxe-files
args:
chdir: 03-matchbox

View File

@@ -1,7 +1,7 @@
// Matcher group for OCP Internal machinesmachines
resource "matchbox_group" "ocp-hub" {
name = "ocp-hub" # Physical Server
profile = matchbox_profile.hub.name
profile = matchbox_profile.openshift-agent-install.name
selector = {
mac = "98:b7:85:1e:c6:f1" # PXE boots and installs to 10GbE NIC
}

View File

@@ -1,6 +1,6 @@
---
- name: Run all tasks necessary to configure matchbox to install the cluster
hosts: 127.0.0.1
hosts: matchbox
connection: local
gather_facts: true