<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Ansible Tour – apt-upgrade.me – Homelab, Linux &amp; DevSecOps</title><link>https://www.apt-upgrade.me/category/ansible-tour/</link><description>One nerd's homelab: Linux, Kubernetes, security, and the occasional disaster.</description><language>en-GB</language><lastBuildDate>Mon, 19 Oct 2026 20:00:00 +0200</lastBuildDate><atom:link href="https://www.apt-upgrade.me/category/ansible-tour/index.xml" rel="self" type="application/rss+xml"/><item><title>The Ansible Tour, Part 4: Nextcloud – Collabora, Push, Host Database and occ, Role by Role</title><link>https://www.apt-upgrade.me/2026/10/19/ansible-tour-part-4-nextcloud/</link><pubDate>Mon, 19 Oct 2026 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2026/10/19/ansible-tour-part-4-nextcloud/</guid><description>&lt;p&gt;&lt;em&gt;Part 4 of the &lt;a href="https://www.apt-upgrade.me/2026/10/14/ansible-tour-part-1-framework/"&gt;Ansible Tour&lt;/a&gt;. After the blog in &lt;a href="https://www.apt-upgrade.me/2026/10/16/ansible-tour-part-3-blog/"&gt;part 3&lt;/a&gt;, here comes the second application: &lt;a href="https://nextcloud.com/"&gt;Nextcloud&lt;/a&gt;. The series describes release &lt;a href="https://github.com/aptupgrademe/www_k3s/tree/v3.3.0"&gt;v3.3.0&lt;/a&gt;, with later changes added as updates. What matches the blog is only mentioned briefly; the focus is on what is different.&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; Part 4 of the &lt;a href="https://www.ansible.com/"&gt;Ansible&lt;/a&gt; tour shows the second application: Nextcloud with &lt;a href="https://www.collaboraonline.com/"&gt;Collabora&lt;/a&gt; and push, for two groups of very different size, from the same code. Database and Redis run on the host here, Nextcloud, Collabora and the push service as Kubernetes objects, and settings are read, compared and only set when needed – plus a careful update playbook.&lt;/p&gt;</description></item><item><title>The Ansible Tour, Part 5: IT Security – Firewall, SSH, fail2ban, Hardening, SELinux and Detection</title><link>https://www.apt-upgrade.me/2026/10/19/ansible-tour-part-5-security/</link><pubDate>Mon, 19 Oct 2026 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2026/10/19/ansible-tour-part-5-security/</guid><description>&lt;p&gt;&lt;em&gt;Part 5 of the &lt;a href="https://www.apt-upgrade.me/2026/10/14/ansible-tour-part-1-framework/"&gt;Ansible Tour&lt;/a&gt;. After the platform, the blog and Nextcloud, this part gathers all security roles in one place, across both stacks. The series describes release &lt;a href="https://github.com/aptupgrademe/www_k3s/tree/v3.3.0"&gt;v3.3.0&lt;/a&gt;, with later changes added as updates.&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; Part 5 of the &lt;a href="https://www.ansible.com/"&gt;Ansible&lt;/a&gt; tour collects all security roles in one place. Security here comes from layers, each catching what the previous one missed: firewall, SSH, fail2ban, hardening along the CIS benchmark, SELinux and detection with auditd, AIDE, &lt;a href="https://rkhunter.sourceforge.net/"&gt;rkhunter&lt;/a&gt; and &lt;a href="https://www.clamav.net/"&gt;ClamAV&lt;/a&gt;. The code is public – protection has to come from keys, layers and alerts, not from secrecy.&lt;/p&gt;</description></item><item><title>The Ansible Tour, Part 6: Monitoring – Exporters, Prometheus, Grafana and a Monit Watchdog</title><link>https://www.apt-upgrade.me/2026/10/19/ansible-tour-part-6-monitoring/</link><pubDate>Mon, 19 Oct 2026 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2026/10/19/ansible-tour-part-6-monitoring/</guid><description>&lt;p&gt;&lt;em&gt;Part 6 of the &lt;a href="https://www.apt-upgrade.me/2026/10/14/ansible-tour-part-1-framework/"&gt;Ansible Tour&lt;/a&gt;, and the last. After the platform, the applications and security, this part is about knowing what is going on. The series describes release &lt;a href="https://github.com/aptupgrademe/www_k3s/tree/v3.3.0"&gt;v3.3.0&lt;/a&gt;, with later changes added as updates.&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; Part 6, the last one of the &lt;a href="https://www.ansible.com/"&gt;Ansible&lt;/a&gt; tour: this is about knowing what is going on. The setup watches in four ways – metrics with &lt;a href="https://prometheus.io/"&gt;Prometheus&lt;/a&gt; and &lt;a href="https://grafana.com/"&gt;Grafana&lt;/a&gt;, states with Monit, logs with Loki and Alloy, heartbeats for rare jobs –, all silent while everything is healthy. And all of them fell for the same mistake: they stayed quiet for a while because they could not speak.&lt;/p&gt;</description></item><item><title>The Ansible Tour, Part 3: The Blog – WordPress, MariaDB and Redis on K3s, Role by Role</title><link>https://www.apt-upgrade.me/2026/10/16/ansible-tour-part-3-blog/</link><pubDate>Fri, 16 Oct 2026 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2026/10/16/ansible-tour-part-3-blog/</guid><description>&lt;p&gt;&lt;em&gt;Part 3 of the &lt;a href="https://www.apt-upgrade.me/2026/10/14/ansible-tour-part-1-framework/"&gt;Ansible Tour&lt;/a&gt;. &lt;a href="https://www.apt-upgrade.me/2026/10/15/ansible-tour-part-2-platform/"&gt;Part 2&lt;/a&gt; built the platform; this part puts the blog on it. The series describes release &lt;a href="https://github.com/aptupgrademe/www_k3s/tree/v3.3.0"&gt;v3.3.0&lt;/a&gt;, with later changes added as updates.&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;em&gt;Addendum (28 November 2026): this part describes the blog as it ran until 6 November 2026. Since then the blog is a static Hugo site without WordPress, PHP, a database or K3s; the four blog roles and &lt;code&gt;blog-update.yml&lt;/code&gt; are gone.&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; Part 3 of the &lt;a href="https://www.ansible.com/"&gt;Ansible&lt;/a&gt; tour puts the blog on the platform: four roles take &lt;a href="https://wordpress.org/"&gt;WordPress&lt;/a&gt; from an empty Kubernetes cluster to a running, configured and monitored website. The post shows the path of a request from the ingress via the page cache to PHP, &lt;a href="https://redis.io/"&gt;Redis&lt;/a&gt; and MariaDB, configuration from the outside, anonymous visitor statistics, the final check and the routine update.&lt;/p&gt;</description></item><item><title>The Ansible Tour, Part 2: The Platform – From a Bare AlmaLinux to a Kubernetes Cluster</title><link>https://www.apt-upgrade.me/2026/10/15/ansible-tour-part-2-platform/</link><pubDate>Thu, 15 Oct 2026 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2026/10/15/ansible-tour-part-2-platform/</guid><description>&lt;p&gt;&lt;em&gt;Part 2 of the &lt;a href="https://www.apt-upgrade.me/2026/10/14/ansible-tour-part-1-framework/"&gt;Ansible Tour&lt;/a&gt;. Part 1 explained how the repository is built; this part starts at the very bottom. The series describes release &lt;a href="https://github.com/aptupgrademe/www_k3s/tree/v3.3.0"&gt;v3.3.0&lt;/a&gt;, with later changes added as updates.&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; Part 2 of the &lt;a href="https://www.ansible.com/"&gt;Ansible&lt;/a&gt; tour starts at the very bottom: a bare &lt;a href="https://almalinux.org/"&gt;AlmaLinux&lt;/a&gt; cloud image becomes a patched base system that sends mail, updates itself at night and rotates its logs – with a single-node &lt;a href="https://kubernetes.io/"&gt;Kubernetes&lt;/a&gt; cluster on top, including Helm, Let&amp;rsquo;s Encrypt certificates and an ingress. That is the platform the blog and Nextcloud stand on, including a component that never did anything.&lt;/p&gt;</description></item><item><title>The Ansible Tour, Part 1: One Repository, Three Servers – How the Code Is Organised and What Happens During a Run</title><link>https://www.apt-upgrade.me/2026/10/14/ansible-tour-part-1-framework/</link><pubDate>Wed, 14 Oct 2026 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2026/10/14/ansible-tour-part-1-framework/</guid><description>&lt;p&gt;&lt;em&gt;First part of a series about the &lt;a href="https://www.ansible.com/"&gt;Ansible&lt;/a&gt; code behind this blog and two Nextcloud servers. The code is public: &lt;a href="https://github.com/aptupgrademe/www_k3s"&gt;github.com/aptupgrademe/www_k3s&lt;/a&gt;; the series describes release &lt;a href="https://github.com/aptupgrademe/www_k3s/tree/v3.3.0"&gt;v3.3.0&lt;/a&gt;. Part 1 explains the structure and what happens during a run, parts 2 to 6 the roles, the deep dives the technology underneath.&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; Three servers, 34 roles, four playbooks, about 22,000 lines – part 1 of the Ansible tour explains what you should know before your first look into the repository. How one set of roles serves two very different applications, where every value comes from, why the order in the playbook is a chain of dependencies and what actually happens between &lt;code&gt;ansible-playbook&lt;/code&gt; and the final recap.&lt;/p&gt;</description></item></channel></rss>