51 lines
1.3 KiB
YAML
51 lines
1.3 KiB
YAML
---
|
|
all:
|
|
vars:
|
|
install_type: "virtual"
|
|
hypervisor: "proxmox"
|
|
install_drive: "/dev/sda"
|
|
boot_iso: "local:iso/archlinux-x86_64.iso"
|
|
vm_nif: "vmbr0"
|
|
children:
|
|
proxmox:
|
|
hosts:
|
|
app01.example.com:
|
|
ansible_host: 10.0.0.10
|
|
hostname: "app01.example.com"
|
|
os: "archlinux"
|
|
filesystem: "btrfs"
|
|
vm_id: 100
|
|
vm_cpus: 2
|
|
vm_memory: 4096
|
|
vm_size: 40
|
|
vm_ip: 10.0.0.10
|
|
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: "db01.example.com"
|
|
os: "rhel9"
|
|
filesystem: "xfs"
|
|
vm_id: 101
|
|
vm_cpus: 4
|
|
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
|