From 9b59fa8f50d49cee168e85867b71db8b2972e4dc Mon Sep 17 00:00:00 2001 From: rblundon Date: Thu, 1 May 2025 21:51:31 -0500 Subject: [PATCH] added proxmox hosts to ansible inventory --- infra-config/ansible/inventory | 11 ++++++++--- infra-config/host_vars/backup/vars | 6 ++++++ infra-config/host_vars/pve01/vars | 3 ++- infra-config/host_vars/pve02/vars | 7 +++++++ infra-config/host_vars/pve03/vars | 7 +++++++ infra-config/inventory.yml | 4 ++++ step-by-step.md | 2 +- 7 files changed, 35 insertions(+), 5 deletions(-) create mode 100644 infra-config/host_vars/backup/vars create mode 100644 infra-config/host_vars/pve02/vars create mode 100644 infra-config/host_vars/pve03/vars diff --git a/infra-config/ansible/inventory b/infra-config/ansible/inventory index a05cc79..bce93cb 100644 --- a/infra-config/ansible/inventory +++ b/infra-config/ansible/inventory @@ -2,11 +2,16 @@ proxmox: hosts: pve01: - ansible_host: 10.10.21.51 + ansible_host: 10.1.71.51 pve02: - ansible_host: 10.10.21.52 + ansible_host: 10.1.71.52 pve03: - ansible_host: 10.10.21.53 + ansible_host: 10.1.71.53 + +backup: + hosts: + backup: + ansible_host: 10.1.71.9 unbound_servers: hosts: diff --git a/infra-config/host_vars/backup/vars b/infra-config/host_vars/backup/vars new file mode 100644 index 0000000..21077d3 --- /dev/null +++ b/infra-config/host_vars/backup/vars @@ -0,0 +1,6 @@ +--- +# file: host_vars/backup/vars +# mac_address: "98:b7:85:1e:c6:f1" +ip_address: "10.1.71.9" +hostname: "backup.{{ base_domain }}" +# primary_interface: "enp1s0f0" \ No newline at end of file diff --git a/infra-config/host_vars/pve01/vars b/infra-config/host_vars/pve01/vars index 8159029..03839c1 100644 --- a/infra-config/host_vars/pve01/vars +++ b/infra-config/host_vars/pve01/vars @@ -1,6 +1,7 @@ --- # file: host_vars/pve01/vars # mac_address: "98:b7:85:1e:c6:f1" -ip_address: "10.1.71.51" +#ip_address: "10.1.71.51" +ip_address: "10.10.21.51" hostname: "pve01.{{ base_domain }}" # primary_interface: "enp1s0f0" \ No newline at end of file diff --git a/infra-config/host_vars/pve02/vars b/infra-config/host_vars/pve02/vars new file mode 100644 index 0000000..36c4d87 --- /dev/null +++ b/infra-config/host_vars/pve02/vars @@ -0,0 +1,7 @@ +--- +# file: host_vars/pve02/vars +# mac_address: "98:b7:85:1e:c6:f1" +#ip_address: "10.1.71.52" +ip_address: "10.10.21.52" +hostname: "pve02.{{ base_domain }}" +# primary_interface: "enp1s0f0" \ No newline at end of file diff --git a/infra-config/host_vars/pve03/vars b/infra-config/host_vars/pve03/vars new file mode 100644 index 0000000..3f44ecd --- /dev/null +++ b/infra-config/host_vars/pve03/vars @@ -0,0 +1,7 @@ +--- +# file: host_vars/pve03/vars +# mac_address: "98:b7:85:1e:c6:f1" +#ip_address: "10.1.71.53" +ip_address: "10.10.21.53" +hostname: "pve03.{{ base_domain }}" +# primary_interface: "enp1s0f0" \ No newline at end of file diff --git a/infra-config/inventory.yml b/infra-config/inventory.yml index e568817..a160739 100644 --- a/infra-config/inventory.yml +++ b/infra-config/inventory.yml @@ -3,6 +3,10 @@ proxmox: hosts: pve0[1:3]: +backup: + hosts: + backup: + freeipa: hosts: infra01: diff --git a/step-by-step.md b/step-by-step.md index e98478b..d5fbce0 100644 --- a/step-by-step.md +++ b/step-by-step.md @@ -5,8 +5,8 @@ This ~~is~~ *will be* the complete walkthrough of the deployment of my homelab. This repo is a mono-repo that is broken up into three sections: - infra-config -- apps - cluster-config +- apps ## Getting Started