Make inventory examples more generic
This commit is contained in:
@@ -1,40 +1,50 @@
|
||||
---
|
||||
all:
|
||||
vars:
|
||||
hypervisor: "proxmox"
|
||||
install_type: "virtual"
|
||||
hypervisor: "proxmox"
|
||||
install_drive: "/dev/sda"
|
||||
boot_iso: "local:iso/archlinux-x86_64.iso"
|
||||
vm_nif: "vmbr0"
|
||||
vm_gw: "10.0.0.1"
|
||||
vm_dns:
|
||||
- 1.1.1.1
|
||||
- 1.0.0.1
|
||||
vm_dns_search:
|
||||
- example.com
|
||||
children:
|
||||
proxmox:
|
||||
hosts:
|
||||
proxy01.example.com:
|
||||
app01.example.com:
|
||||
ansible_host: 10.0.0.10
|
||||
hostname: "proxy01.example.com"
|
||||
vm_id: 100
|
||||
hostname: "app01.example.com"
|
||||
os: "archlinux"
|
||||
filesystem: "btrfs"
|
||||
vm_memory: 4096
|
||||
vm_ballo: 2048
|
||||
vm_id: 100
|
||||
vm_cpus: 2
|
||||
vm_memory: 4096
|
||||
vm_size: 40
|
||||
vm_ip: 10.0.0.10
|
||||
database01.example.com:
|
||||
vm_nms: 24
|
||||
vm_gw: 10.0.0.1
|
||||
vm_dns:
|
||||
- 1.1.1.1
|
||||
- 1.0.0.1
|
||||
extra_packages:
|
||||
- jq
|
||||
- tmux
|
||||
db01.example.com:
|
||||
ansible_host: 10.0.0.11
|
||||
hostname: "database01.example.com"
|
||||
vm_id: 101
|
||||
hostname: "db01.example.com"
|
||||
os: "rhel9"
|
||||
filesystem: "xfs"
|
||||
vm_memory: 4096
|
||||
vm_ballo: 2048
|
||||
vm_id: 101
|
||||
vm_cpus: 4
|
||||
vm_size: 60
|
||||
vm_memory: 8192
|
||||
vm_size: 80
|
||||
vm_ip: 10.0.0.11
|
||||
vm_nms: 24
|
||||
vm_gw: 10.0.0.1
|
||||
vm_dns: "1.1.1.1,1.0.0.1"
|
||||
rhel_iso: "local:iso/rhel-9.4-x86_64-dvd.iso"
|
||||
luks_enabled: true
|
||||
luks_passphrase: "CHANGE_ME"
|
||||
luks_auto_decrypt_method: "keyfile"
|
||||
luks_keyfile_size: 128
|
||||
cis: true
|
||||
selinux: false
|
||||
firewalld_enabled: false
|
||||
|
||||
Reference in New Issue
Block a user