<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>YAML playbook – apt-upgrade.me – Homelab, Linux &amp; DevSecOps</title><link>https://www.apt-upgrade.me/tag/yaml-playbook/</link><description>One nerd's homelab: Linux, Kubernetes, security, and the occasional disaster.</description><language>en-GB</language><lastBuildDate>Tue, 08 Jul 2025 20:00:00 +0200</lastBuildDate><atom:link href="https://www.apt-upgrade.me/tag/yaml-playbook/index.xml" rel="self" type="application/rss+xml"/><item><title>🛡️🧙‍♂️ Deploying Nextcloud: My Ansible Quest for Ultimate Automation ⚔️☁️</title><link>https://www.apt-upgrade.me/2025/07/08/%F0%9F%9B%A1%EF%B8%8F%F0%9F%A7%99%E2%99%82%EF%B8%8F-deploying-nextcloud-my-ansible-quest-for-ultimate-automation-%E2%9A%94%EF%B8%8F%E2%98%81%EF%B8%8F/</link><pubDate>Tue, 08 Jul 2025 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2025/07/08/%F0%9F%9B%A1%EF%B8%8F%F0%9F%A7%99%E2%99%82%EF%B8%8F-deploying-nextcloud-my-ansible-quest-for-ultimate-automation-%E2%9A%94%EF%B8%8F%E2%98%81%EF%B8%8F/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; My quest for ultimate automation: rolling out &lt;a href="https://nextcloud.com/"&gt;Nextcloud&lt;/a&gt; entirely with &lt;a href="https://www.ansible.com/"&gt;Ansible&lt;/a&gt;, including web server, database, Let&amp;rsquo;s Encrypt certificate and security features. The post briefly explains what Ansible is, presents the stack and celebrates the first milestone – it actually works. It is outdated by now and waiting for a revision.&lt;/p&gt;&#10;&lt;div style="border: 2px solid #ff4d4d; background-color: #fff0f0; color: #b30000; padding: 12px 16px; border-radius: 8px; margin: 1.5em 0; font-family: 'Courier New', monospace;"&gt;&lt;p&gt;&lt;strong&gt;⚠️ Heads-up, fellow human (or bot):&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;This post is currently &lt;em&gt;outdated&lt;/em&gt; and due for a proper rewrite.&lt;br/&gt;&#10;Some parts may no longer be accurate, complete, or aligned with the latest tech realities.&lt;br/&gt;&#10;A fully updated and more detailed version is on the way soon™.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;TL;DR:&lt;/strong&gt; Read at your own nerdy risk — no warranties, no guarantees, just vibes. 🤓&lt;/p&gt;&lt;/div&gt;</description></item><item><title>Patch Me If You Can: Keeping Debian VMs Updated with Ansible (Without Losing My Weekend)</title><link>https://www.apt-upgrade.me/2025/05/28/patch-me-if-you-can-keeping-debian-vms-updated-with-ansible/</link><pubDate>Wed, 28 May 2025 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2025/05/28/patch-me-if-you-can-keeping-debian-vms-updated-with-ansible/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; Updating around twelve &lt;a href="https://www.debian.org/"&gt;Debian&lt;/a&gt; VMs by hand, one after the other over SSH, was slow, boring and error-prone. Now a simple &lt;a href="https://www.ansible.com/"&gt;Ansible&lt;/a&gt; playbook does it: it updates all machines, reboots them if needed and reports what happened. The post shows the playbook.&lt;/p&gt;&#10;&lt;p&gt;I have around 12 Debian-based VMs running in my homelab. A while ago, I used to update them all manually — one by one. SSH into each machine, run &lt;code&gt;apt update &amp;amp;&amp;amp; apt upgrade&lt;/code&gt;, wait, reboot if needed... then repeat. It worked, but it was slow, boring, and very easy to forget one or two machines.&lt;/p&gt;</description></item></channel></rss>