Ansible CICD pipeline with GitLab

In this post I will show how I use GitLab CICD with Ansible. I鈥檒l show the pipelines and how the merge requests are handled for full control and auditing. GitLab flow The GitLab flow is as following, you have one or more dev/working branches. To push code to the staging environment you do this via an merge request in GitLab, en to get this code in to production. Again via a merge request from the master branch to the production branch....

January 17, 2020 路 Dennis Kruyt

3d print project, lampshade

A couple of weeks ago I gave myself a 3d print for a present. 馃槤 I opted for a Creality Ender 3 pro and order it from Ali Express. With the first print I was amazed how good the quality now is on these budget printers. My last experience with 3d printing was about 10 years ago and the quality was quite different then on budget printers. So I am quite happy with this printer....

December 9, 2019 路 Dennis Kruyt

Ghost blog caching with Varnish

In this post I show a few of my tip鈥檚 for using Varnish for caching and Ghost together. Don鈥檛 cache everything Caching is good, but we don鈥檛 want to cache everything in ghost, we don鈥檛 want to cache the admin and preview pages in ghost. Add the following in the sub vcl_recv part. # Did not cache the admin and preview pages if (req.url ~ "/(admin|p|ghost)/") { return (pass); } restart Varnish to activate the changes....

October 6, 2019 路 Dennis Kruyt

ZeroTier on a Ubiquiti EdgeRouter (part 2)

In my previous post I showed how to install ZeroTier on the EdgeRouter, after installing we need to rename the ZeroTier interface to ethx interface to show up in EdgeOS. ZeroTier on a Ubiquiti EdgeRouter With the new EdgeOS version 2 firmware for the EdgeRouter it is now possible to install ZeroTier on this router. Dennis Kruyt Now I adopted EdgeOS (which is basically VyOS/Vyatta running on the EdgeRouter) to support ZeroTier from the native CLI with tab completion....

September 27, 2019 路 Dennis Kruyt

MySQL tuning

At my work in the past I needed to trouble shoot and tune MySQL installations. Here are some best practises I have used.

September 24, 2019 路 Dennis Kruyt

Linux disk performance tuning

Some option in Linux that can be used for disk related performance tuning.

September 22, 2019 路 Dennis Kruyt

Instagram/Facebook HELO/SPF fail

I am trying to get an email from instagram, but I wasn鈥檛 receiving it. Upon checking my mail logs I see the following log message. Sep 13 03:50:51 mailserver postfix/smtpd[28105]: NOQUEUE: reject: RCPT from[]: 550 5.7.1 <[email protected]>: Recipient address rejected: Message rejected due to: domain owner discourages use of this host. Please see;;ip=;[email protected]; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<> So the mail is SPF (Sender Policy Framework) failing. Email domains use this protocol to specify which mail hosts are authorised to use this domain in the SMTP HELO and MAIL FROM commands....

September 13, 2019 路 Dennis Kruyt

ZeroTier on a Ubiquiti EdgeRouter

With the new EdgeOS version 2 firmware for the EdgeRouter it is now possible to install ZeroTier on this router.

August 31, 2019 路 Dennis Kruyt

My BBQ creations

My Kamado鈥檚 This is where the magic happens. Smoked Pork belly Chicken Tandoor style in a Kamado Porchetta Vulcan bread Angus Uruguay Grain Fed Pichana

August 27, 2019 路 Dennis Kruyt

Fortinet FortiADC in Grafana

FortiADC is is a application delivery controllers (loadbalancer). The devices metrics are availalbe via SNMP. So it鈥檚 quite easy to collect those and display them in Grafana. Pre Install Make sure you have installed InfluxDB as the time-series database Telegraf as collector first. Optional you can also include the FortiADC logs when they are in elasticsearch. I use the Greylog sollution for this. Quick Start Get the latest files, at my GitHub page...

August 21, 2019 路 Dennis Kruyt