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 that provisions containers for me, I just have to update some variables.

Weekly Links 10/29-11/4: VPN, Lab Apps, and Linux Basics

I didn’t get a ton of work done int he lab this week, but I did write about using subelements with Ansible. Also spent some time working with Graylog and Hashcorp Vault earlier in the week. I should be able to put a Graylog Ansible role up in the near future. Vault looks like it’s a little bit of a bigger project, but the structure is really interesting.

Using subelements in Ansible to loop through multiple lists.

While working on my Ansible Galaxy users role I came across a situation where I needed to loop through a list inside a dictionary inside a list. For this specific case I had a list of users, and each user could have multiple authorized sshkeys stored in a “pubkeys” value.