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.
Lots of work on Ceph and Proxmox, advice for working on projects, checking out Shodan and some new music recommendation for homelab work!
This week covers a lot of Ansible, Kubernetes and theres some interesting DevOps article reads. Also time to start testing RHEL 8!
Using Ansible “when” statements allows you to set parameters for when a task should play out. I’ve put together some examples.
I sweat, this is the week I’ll do a write up about my lab.. Lots of interesting articles this week! I’ve been reading a lot more about security this week.
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.
There are a lot of interesting happenings with Ansible this week. I’ve been watching the tweets for AnsibleFest and am pretty excited to see what they announce. Here’s a roundup of some interesting links I read through this week:
The Ansible docs cover a variety of ways to install Ansible from apt/yum installs to compiling from source. Learn to Setup ansible with virtualenv.