Electricmonk

Ferry Boender

Programmer, DevOpper, Open Source enthusiast.

Blog

Category: sysadmin

Bexec v0.9 has been released

Bexec is a vim plugin that allows the user to execute the current buffer. Version 0.9 has just been released. This version changes Bexec so it’s autoloaded on demand, rather than always. This reduces Vim startup times if you’re not going to use Bexec. Many thanks to Lucas Hoffmann for this change. The new version […]

Ansible-cmdb v1.7: New columns and togglable columns

I’ve just released ansible-cmdb v1.7. Ansible-cmdb takes the output of Ansible’s fact gathering and converts it into a static HTML overview page containing system configuration information. It supports multiple templates and extending information gathered by Ansible with custom data. This is a feature and bugfix release, including the following changes: Support for showing only specific columns […]

Interesting links: October 4th 2015

Here’s a bunch of links I found interesting in the last few weeks: List of Python Report Generation Tools jstat – Java Virtual Machine Statistics Monitoring Tool How To Protect WordPress with Fail2Ban on Ubuntu 14.04 | DigitalOcean Shiny Turn your analyses into interactive web applicationsNo HTML, CSS, or JavaScript knowledge required logtail(8) – Linux […]

Batch create new users on Linux

A while ago I had to create many new users on a Linux machine. Since I’m lazy, I opted to automate this process. The newusers command combined with pwgen (to generate new passwords) was the solution. First I installed pwgen, a utility to automatically generate passwords: $ sudo apt-get install pwgen I created a file […]

Auto-mount external USB disk on a server

Althought modern Linux desktops generally automatically mount external USB disks when plugged in, servers usually don’t do this. When I replaced my home server desktop model with a Raspberry Pi 2 (running Raspbian), I wanted it to automatically mount USB drives and, more importantly, make the same USB drive available at the same path at […]

A new Material design for Ansible-cmdb v1.5

Ansible-cmdb takes the output of Ansible’s setup module and converts it into a static HTML overview page containing system configuration information. While the previous generated overview page was functional, it didn’t look very good. So for the v1.5 release (which is now available), I gave it an overhaul. I decided on Material design because it gives […]

Ansible-cmdb v1.4: a host overview generator for ansible-managed hosts

Ansible-cmdb takes the output of Ansible’s setup module and converts it into a static HTML overview page containing system configuration information. It supports multiple templates and extending information gathered by Ansible with custom data. You can visit the Github repo, or view an example output here. This is the v1.4 release of ansible-cmdb, which brings a bunch of bug […]

Ansible-cmdb v1.3: a host overview generator for ansible-managed hosts

A few days ago I released ansible-cmdb. Ansible-cmdb takes the output of Ansible’s setup module and converts it into a static HTML overview page containing system configuration information. It supports multiple templates and extending information gathered by Ansible with custom data. The tool was positively received and I got lots of good feedback. This has resulted in […]

Introducing ansible-cmdb: a host overview generator for ansible-managed hosts

For those of you that are using Ansible to manage hosts, you may have noticed you can use the setup module to gather facts about the hosts in your inventory: $ ansible -m setup –tree out/ all $ ls out centos.dev.local eek.electricmonk.nl zoltar.electricmonk.nl debian.dev.local jib.electricmonk.nl $ head out/debian.dev.local  {     “ansible_facts”: {     […]

Openvaz: Creating credentials is very slow [FIXED]

When creating new credentials on Openvaz (6, 7 and 8), it takes a very long time to store the credentials. The problem here is that the credentials are stored encrypted, and Openvaz (probably) has to generate a PGP key. This requires lots of random entropy, which is generally not abundantly available on a virtual machine. […]

The text of all posts on this blog, unless specificly mentioned otherwise, are licensed under this license.