Provision Proxmox Containers with Ansible

I’ve been building a lot of virtual machines and containers on Proxmox lately. To save some time I wrote an Ansible role to provision Proxmox containers for me, I just have to update some variables. The role is available here: https://github.com/engonzal/ansible_role_proxmox Proxmox Variables Below is a basic set of variables, note that the pve_apiuser, pve_apipass and pve_api_host are required. pve_node: pve1 pve_apiuser: root@pam pve_apipass: myAPIpassword pve_api_host: pve1.domain.com pve_hostname: "newhostname" pve_template: local:vztmpl/debian-9.0-standard_9.5-1_amd64.tar.gz pve_netif: net0: "name=eth0,gw=192.168.84.1,ip=192.168.84.36/22,bridge=vmbr0" Proxmox Test Playbook Now we’re going to put those variables in a playbook that will actually do something. If you haven’t setup Ansible before, read about how to set it up with virtualenv. ...

December 5, 2018

Weekly Links 11/25-12/02: Proxmox, Self-hosted, Ceph

There’s a lot of potential apps to host in a homelab. I’ve started investigating which ones to deploy first! Also some info on getting Ceph and Proxmox up and running at home. I was hitting all kind of ceph “OSD” delays when working on things in my Proxmox cluster. Stumbled upon this gem pointing out that the Proxmox kernel has old Solarflare drivers that may affect Ceph performance. No delays since! With the storage working, I decided to start bind mounting my CephFS mounts in Proxmox LXC containers. Some useful dotfile for setting up a fresh Linux install. Askbot is an open source take of StackOverflow that you can host at home. Polr is a neat looking link shortener. Cachet is an open source status page you can self-host. Plex added support for Tidal, an interesting merging of home and cloud media streaming. Ceph has “S3” support via their RadosGW. Next Ceph project will be to configure that, and see how performance works with “Goofys” as a file-system on S3. Hashicorp Vault is on my to-do list, came across some videos from Hashiconf. Some performance testing of different Kubernetes plugins running on hosts with 10G network interfaces.

December 3, 2018