Files
Ansible-Bootstrap/inventory_example.yml

66 lines
1.6 KiB
YAML

---
all:
vars:
install_type: "virtual"
hypervisor:
type: "proxmox"
url: "pve01.example.com"
username: "root@pam"
password: "CHANGE_ME"
node: "pve01"
storage: "local-lvm"
install_drive: "/dev/sda"
boot_iso: "local:iso/archlinux-x86_64.iso"
children:
proxmox:
hosts:
app01.example.com:
ansible_host: 10.0.0.10
os: "archlinux"
filesystem: "btrfs"
system:
name: "app01.example.com"
id: 100
cpus: 2
memory_mb: 4096
network: "vmbr0"
ip: 10.0.0.10
prefix: 24
gateway: 10.0.0.1
dns_servers:
- 1.1.1.1
- 1.0.0.1
disks:
- size: 40
- size: 80
mount: /data
fstype: xfs
extra_packages:
- jq
- tmux
db01.example.com:
ansible_host: 10.0.0.11
os: "rhel"
os_version: "9"
filesystem: "xfs"
system:
name: "db01.example.com"
id: 101
cpus: 4
memory_mb: 8192
network: "vmbr0"
ip: 10.0.0.11
prefix: 24
gateway: 10.0.0.1
dns_servers: "1.1.1.1,1.0.0.1"
disks:
- size: 80
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
firewall_enabled: false