After rebuilding this site and my work site, I wanted a view into whether people were visiting the sites, and if they are, which pages they were interested in.
I have simple needs:
How many people are visiting When are they visiting What are they visiting If they’re referred from another site, which I don’t want to know anything else, nor do I want to give any of my visitor details to Google. When I started looking into alternatives I came across It’s not me, Google, it’s you - from GA to Fathom by Jeff Geerling. Those who work with Ansible, may recognize him for his Ansible roles or his book (Ansible for DevOps). Both are highly recommended.
This morning was spent cleaning up my dotfiles. I’ve often had issues with the ~/.config directory when using plugin managers with both vim-plug for NeoVim and fisher for fish shell. These plugins self update, and using them on multiple systems often requires checking in changes from upgrading to the latest versions when they do.
Adding the files to .gitignore might be a solution, but that would still require me to do the installation on every system I want to use them on. The solution I came up with was to move the nvim and fish directories outside of the config directory and create a Makefile (or in the case of fish recursive Makefiles) to manage the linking.
Tonight I gave a talk at Toronto Perl Mongers discussing docker-compose. This month’s topic started as a discussion at the end of my presentation last month, as I was using containers to demonstrate OpenAPI interaction.
There was a lot of attendee involvement in the during the presentation. Plenty of questions and discussions. The use of docker containers for MetaCPAN dominated the conversation and examples, as I had the ability to show how they worked and work with the containers running on my system.
By default Ubuntu/Debian docker images do not include python as part of the distribution. Before running Ansible tasks against containers, including fact gathering, python must be installed.
The value of ansible_os_family can not be used because it’s not available until after facts have been gathered.
- hosts: docker-containers gather_facts: False pre_tasks: - name: Check for apt (Debian family) raw: "test -e /usr/bin/apt" register: apt_installed ignore_errors: true - name: Install python for Ansible raw: "[ -e /usr/bin/python ] || (apt -y update && apt install -y python-minimal)" register: output when: apt_installed and apt_installed.rc == 0 changed_when: output.stdout != "" Answering a couple questions that the above might cause: