Ansible-Bootstrap/inventory_example.yml

57 lines
1.4 KiB
YAML
Raw Normal View History

2024-03-22 12:43:13 +01:00
all:
children:
2024-11-07 15:02:49 +01:00
first:
2024-03-22 12:43:13 +01:00
hosts:
192.168.122.10:
hostname: proxy
2024-11-07 15:02:49 +01:00
os: rhel8
filesystem: ext4
2024-03-22 12:43:13 +01:00
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.11:
hostname: database
2024-10-30 00:29:46 +01:00
os: rhel9
filesystem: xfs
2024-03-22 12:43:13 +01:00
vm_memory: "6144"
vm_ballo: "3072"
vm_cpus: "4"
vm_size: "40"
vm_gw: 192.168.122.1
2024-10-30 00:29:46 +01:00
vm_dns: 1.1.1.1
2024-11-07 15:02:49 +01:00
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