Latest news from Midwesternmac.com - Technology feed

Latest news from Midwesternmac.com - Technology feed

  1. Patching or using a forked version of an Ansible Galaxy role

    09.21 / 19:32 midwesternmac.com Midwesternmac.com - Technology
    I maintain a lot of Ansible Galaxy roles. I probably have a problem, but I won't admit it, so I'll probably keep adding more roles :) One thing I see quite often is someone submitting a simple Pull Request for one of my roles on GitHub, then checking in here and there asking if I have had a chance to merge it yet. I'm guessing people who end up doing this might not know about one of the best features of Ansible Galaxy (and more generally, open source!): you can fork the role and maintain…
  2. Using MaxMind's free GeoIP databases with the official Docker PHP image

    09.15 / 05:27 midwesternmac.com Midwesternmac.com - Technology
    I recently had to add support for the MaxMind free GeoIP database to a PHP container build that was based on the official Docker PHP image on Docker Hub. Unfortunately, it seems nobody else who's added this support has documented it, so I figured I'd post this so that the next poor soul who needs to implement the functionality doesn't have to spend half a day doing it! First, you need the PHP geoip extension, which is available via PECL (note: if you can make the PHP project itself use a…