This is my Reddit comment about using one role from another in Ansible. I wrote it and realized it’s more deep than people asked for (their specific question), so I’m re-posting it as a separate article.
Tools:
The problem: I worked on refactoring; I did a few non-trivial renamings. I found big gaps in other places while doing it, which required me to abandon my current work and to spend a…
It’s the usual ‘suck at iterations’ problem in Ansible.
My problem:
mytasks: - name: foo repeat: 10 - name: bar repeat: 99
We have few alerts for the most critical services, which explicitly checks if service is not failed. This require us to use systemd collector for node exporter, and it gathers a lot of series.
I just spend few days debugging absolutely simple problem.
My servers wasn’t able to communicate after applying nftables rules with policy deny.
The rule was very simple:
iifname eth0 ip6 saddr @good ip6 daddr…
ChatGPT start to scare me (in a good sense). It really knows git, and it knows it better than me. This solution is absolutely from it, I had had no idea that there is a fast way.
There is a known slightly boring problem with tests. You have conftest.py, which is magical and is always available in tests (but only via hooks and fixtures, and double-magical ‘request’ metafunc). If you want to have it outside fixtures, things become…
conftest.py
Grafana K6 is an extremely complex (but nextgen compare to ab/wrk) program. I just started to dive into it, and all I have insofar, is a set of observations for performance limits.
These were the top 10 stories published by OpsOps in 2024. You can also dive into monthly archives for 2024 by using the calendar at the top of this page.