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
ansible.builtin.command: /usr/local/bin/openshift-install agent create pxe-files
args:
chdir: 03-matchbox
register: command_result
ignore_errors: yes

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

View File

@@ -6,7 +6,6 @@ freeipa_password: "{{ vault_freeipa_password }}"
# Variables for Matchbox
matchbox_assets: "/var/lib/matchbox/assets"
# Variables for 10-sno-hub-cluster
mac_address: "98:b7:85:1e:c6:f1"
ip_address: "10.1.71.10"

View File

@@ -1,2 +1,13 @@
[default]
localhost
proxmox:
hosts:
pve01:
pve02:
pve03:
freeipa:
hosts:
infra01:
matchbox:
hosts:
infra01: