From f0316c606acd89c4b9b7b46415bb13f670e99a10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20=C5=BBbikowski?= Date: Tue, 11 Aug 2026 22:32:48 +0200 Subject: [PATCH] Update ansible/update.yml --- ansible/update.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ansible/update.yml b/ansible/update.yml index 617f27d..5dc29df 100644 --- a/ansible/update.yml +++ b/ansible/update.yml @@ -48,7 +48,7 @@ when: - host_is_online | default(false) - ansible_os_family | default('') == 'Debian' - - not (skip_apt | default(false)) + - not (skip | default(false)) ignore_unreachable: true block: - name: Aktualizacja pamięci podręcznej i podniesienie pakietów @@ -74,7 +74,7 @@ when: - host_is_online | default(false) - ansible_os_family | default('') == 'Alpine' - - not (skip_apt | default(false)) + - not (skip | default(false)) ignore_unreachable: true block: - name: Aktualizacja pamięci podręcznej i pakietów (apk) @@ -106,5 +106,5 @@ ansible.builtin.debug: msg: - "Host: {{ inventory_hostname }} ({{ ansible_distribution | default('Brak połączenia') }})" - - "Status: {{ '🔴 NIEOSIĄGALNY / WYŁĄCZONY' if not (host_is_online | default(false)) else ('⏭️ POMINIĘTO (skip_apt)' if (skip_apt | default(false)) else '✅ ZAKOŃCZONO SUCCESS') }}" + - "Status: {{ '🔴 NIEOSIĄGALNY / WYŁĄCZONY' if not (host_is_online | default(false)) else ('⏭️ POMINIĘTO (skip)' if (skip | default(false)) else '✅ ZAKOŃCZONO SUCCESS') }}" - "Status restartu: {{ '⚠️ WYMAGANY RESTART!' if (reboot_needed | default(false)) else '✅ Brak potrzeby restartu' }}" \ No newline at end of file