Update inventory and matchbox configuration
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -1,2 +1,13 @@
|
||||
[default]
|
||||
localhost
|
||||
proxmox:
|
||||
hosts:
|
||||
pve01:
|
||||
pve02:
|
||||
pve03:
|
||||
|
||||
freeipa:
|
||||
hosts:
|
||||
infra01:
|
||||
|
||||
matchbox:
|
||||
hosts:
|
||||
infra01:
|
||||
|
||||
Reference in New Issue
Block a user