Magnus’ blog

Speed up ansible for windows with psrp

2020-02-02

In our environment we used to use winrm. It just caught my attention (about a year too late) that from Ansible 2.7 you can use PSRP (PowerShell Remote Protocol) to execute your playbooks.

Read More
Temporarily turn off URI parsing in Powershell

Temporarily turn off URI parsing in Powershell

2019-12-02

This came to my attention when I was trying out RabbitMQ, that powershell\s invoke-restmethod did not work as intended. Some REST calls worked, but some didn’t. It took me quite some time to figure out what was going on.

Read More

Install hassio/Home Assistant on a raspberry pi with Raspbian Buster

2019-11-09

If you install Homeassistant on Raspbian Buster using the step by step description at home-assistant.io, the web gui does not start. Your browser is hanging, and there is no good error message.

Read More

Ansible: b64decode filter when using _copy_ not binary safe - example for Windows

2019-10-31

Sometimes you would like to fetch a file from one server, then put it onto another. There are many ways to solve this.

Read More

iperf on esxi

2019-10-18

Quick one. If you need iperf on your ESXi server, you need to install an obscure, 3rd party package.

Read More

pgAdmin on Docker/Ubuntu 18

2019-10-15

This post will quickly show how to set up an Ubuntu 18 in a virtual machine, install Docker and set up pgAdmin with a persistend volume.

Read More

Installing pfSense version >2.4 on an APU2c4

2017-12-03

This howto partly shows how to install pfSense, with the main focus on creating the boot USB stick on a Mac, OSX, MacOS or whatever they call it today.

Read More

Catch exit codes in bash - pipefail vs PIPESTATUS

2017-11-27

The other day I caught a bug in one of my scripts, where I wanted to both act on the exit code of a command at the same time as I sent the output from it to a log file.

Read More

op5 widgets for Smashing released on github

2017-11-02

A set of widgets to integrate op5 (nagios derivate) with the smashing.io dashboard now available on github.

Read More