From 2733600201940f32f2051780eaf1ffd5f9f222a4 Mon Sep 17 00:00:00 2001 From: Simon Cornet Date: Thu, 23 Oct 2025 10:32:40 +0200 Subject: [PATCH] feat: make reboots and cache cleaning look good --- tasks/reboot.yaml | 1 + tasks/update.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/tasks/reboot.yaml b/tasks/reboot.yaml index ab8f58e..a57f93d 100644 --- a/tasks/reboot.yaml +++ b/tasks/reboot.yaml @@ -8,3 +8,4 @@ ansible.builtin.reboot: msg: "Reboot initiated by Ansible" reboot_timeout: 120 + changed_when: false diff --git a/tasks/update.yaml b/tasks/update.yaml index ebd912e..db531b5 100644 --- a/tasks/update.yaml +++ b/tasks/update.yaml @@ -23,6 +23,7 @@ - name: "clean cache - debian" ansible.builtin.apt: clean: true + changed_when: false # install updates - rhel