basharkey / pve-ansible

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PVE Ansible

Proxmox Virtual Envrionment deployment playbook.

  1. Update variables in hosts.yml
  2. Update variables in vault.yml
  3. make vault to encrypt vault.yml
  4. Create/import ZFS pool ensure zpool value in hosts.yml is correct
  5. make install to run playbook

ZFS

Create Pool

zpool create pool0 raidz2 /dev/sdb /dev/sdc /dev/sdd /dev/sde

Create Encrypted Dataset

zfs create -o encryption=on -o keylocation=prompt -o keyformat=passphrase -o compression=lz4 -o mountpoint=/pool0/encrypted pool0/encrypted

Verify Dataset Settings

zfs list -o encryption,compression,mountpoint

Remount Encrypted Dataset after Reboot

zfs mount -l pool0/encrypted

About

License:GNU General Public License v3.0


Languages

Language:Jinja 87.0%Language:Makefile 13.0%