Ansible is a powerful IT automation engine, perfect for the IT professional or DevOps engineer. There are many ways to install Ansible, often packages are used to install a single version of Ansible across your entire system. This post will cover how to install Ansible 2.12 with pipenv and pyenv. In my environment I use…
Tag: ansible
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 11/19-11/25: Ceph, Project work, Music
Lots of work on Ceph and Proxmox, advice for working on projects, checking out Shodan and some new music recommendation for homelab work!
Weekly Links 11/12-11/18: Ansible, Kubernetes, and DevOps
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
Using Ansible “when” statements allows you to set parameters for when a task should play out. I’ve put together some examples.
Weekly Links 11/5-11/11: OKD, DevOps, and Ansible
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.
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.
Weekly Links 10/7-10/14: AnsibleFest, Molecule and Python
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:
Setup Ansible with Python Virtualenv
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.