From cdf2b9fdd7ca4df063daa3136e7bdb437b25d570 Mon Sep 17 00:00:00 2001 From: Sandwich Date: Thu, 7 Nov 2024 15:02:49 +0100 Subject: [PATCH] Adjust examples --- inventory_example.ini | 12 ++++------- inventory_example.yml | 47 ++++++++++++++++++++++++++++++++----------- 2 files changed, 39 insertions(+), 20 deletions(-) diff --git a/inventory_example.ini b/inventory_example.ini index d147fa2..3618658 100644 --- a/inventory_example.ini +++ b/inventory_example.ini @@ -8,22 +8,18 @@ vm_dns=1.1.1.1 [192.168.122.10] hostname=proxy -vm_id=300 -os=archlinux -filesystem=btrfs +os=rhel8 +filesystem=ext4 vm_memory=2048 vm_ballo=1024 vm_cpus=2 vm_size=5 -vm_nif=vmbr1 [192.168.122.11] hostname=database -vm_id=101 -os=archlinux -filesystem=btrfs +os=rhel9 +filesystem=xfs vm_memory=6144 vm_ballo=3072 vm_cpus=4 vm_size=40 -vm_nif=vmbr1 \ No newline at end of file diff --git a/inventory_example.yml b/inventory_example.yml index d24fe7b..596558d 100644 --- a/inventory_example.yml +++ b/inventory_example.yml @@ -1,33 +1,56 @@ all: - vars: - hypervisor: 'proxmox' - install_drive: '/dev/sda' - cis: true children: - promox-kvm: + first: hosts: 192.168.122.10: hostname: proxy - vm_id: 100 - os: archlinux - filesystem: btrfs + os: rhel8 + filesystem: ext4 vm_memory: "2048" vm_ballo: "1024" vm_cpus: "2" vm_size: "5" - vm_nif: vmbr1 vm_gw: 192.168.122.1 vm_dns: 1.1.1.1 192.168.122.11: hostname: database - vm_id: 101 os: rhel9 filesystem: xfs vm_memory: "6144" vm_ballo: "3072" vm_cpus: "4" vm_size: "40" - vm_nif: vmbr1 vm_gw: 192.168.122.1 vm_dns: 1.1.1.1 - rhel_iso: "local-btrfs:iso/rhel-9.4-x86_64-dvd.iso" + 192.168.122.12: + hostname: storage + os: rhel9 + filesystem: xfs + vm_memory: "2048" + vm_ballo: "1024" + vm_cpus: "2" + vm_size: "40" + vm_gw: 192.168.122.1 + vm_dns: 1.1.1.1 + second: + hosts: + 192.168.122.13: + hostname: proxy02 + os: rhel8 + filesystem: ext4 + vm_memory: "2048" + vm_ballo: "1024" + vm_cpus: "2" + vm_size: "5" + vm_gw: 192.168.122.1 + vm_dns: 1.1.1.1 + 192.168.122.14: + hostname: database02 + os: rhel9 + filesystem: xfs + vm_memory: "6144" + vm_ballo: "3072" + vm_cpus: "4" + vm_size: "40" + vm_gw: 192.168.122.1 + vm_dns: 1.1.1.1