Update inventory and matchbox configuration
This commit is contained in:
@@ -1,7 +1,5 @@
|
|||||||
---
|
---
|
||||||
- name: OpenShift image creation
|
- name: OpenShift image creation
|
||||||
ansible.builtin.command:
|
ansible.builtin.command: /usr/local/bin/openshift-install agent create pxe-files
|
||||||
cmd: /usr/local/bin/openshift-install agent create pxe-files
|
args:
|
||||||
chdir: 03-matchbox
|
chdir: 03-matchbox
|
||||||
register: command_result
|
|
||||||
ignore_errors: yes
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
// Matcher group for OCP Internal machinesmachines
|
// Matcher group for OCP Internal machinesmachines
|
||||||
resource "matchbox_group" "ocp-hub" {
|
resource "matchbox_group" "ocp-hub" {
|
||||||
name = "ocp-hub" # Physical Server
|
name = "ocp-hub" # Physical Server
|
||||||
profile = matchbox_profile.hub.name
|
profile = matchbox_profile.openshift-agent-install.name
|
||||||
selector = {
|
selector = {
|
||||||
mac = "98:b7:85:1e:c6:f1" # PXE boots and installs to 10GbE NIC
|
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
|
- name: Run all tasks necessary to configure matchbox to install the cluster
|
||||||
hosts: 127.0.0.1
|
hosts: matchbox
|
||||||
connection: local
|
connection: local
|
||||||
gather_facts: true
|
gather_facts: true
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,6 @@ freeipa_password: "{{ vault_freeipa_password }}"
|
|||||||
# Variables for Matchbox
|
# Variables for Matchbox
|
||||||
matchbox_assets: "/var/lib/matchbox/assets"
|
matchbox_assets: "/var/lib/matchbox/assets"
|
||||||
|
|
||||||
|
|
||||||
# Variables for 10-sno-hub-cluster
|
# Variables for 10-sno-hub-cluster
|
||||||
mac_address: "98:b7:85:1e:c6:f1"
|
mac_address: "98:b7:85:1e:c6:f1"
|
||||||
ip_address: "10.1.71.10"
|
ip_address: "10.1.71.10"
|
||||||
|
|||||||
@@ -1,2 +1,13 @@
|
|||||||
[default]
|
proxmox:
|
||||||
localhost
|
hosts:
|
||||||
|
pve01:
|
||||||
|
pve02:
|
||||||
|
pve03:
|
||||||
|
|
||||||
|
freeipa:
|
||||||
|
hosts:
|
||||||
|
infra01:
|
||||||
|
|
||||||
|
matchbox:
|
||||||
|
hosts:
|
||||||
|
infra01:
|
||||||
|
|||||||
Reference in New Issue
Block a user