fix: remove OS checks

either use the generic package module or OS-specific tasks that won't silently fail playbook runs
This commit is contained in:
alessandrovitali committed 2026-07-09 16:17:30 +02:00
1 parent 04e38f42b5
commit 9fbba9ffd6
4 files changed
+3 -6

No files matched your search

-2
View File
@@ -10,7 +10,6 @@
update_cache: true
upgrade: dist
cache_valid_time: 3600
when: ansible_facts['os_family'] == "Debian" ## only on Debian / Ubuntu systems
become: true
- name: Install essential system utilities
@@ -26,7 +25,6 @@
- unattended-upgrades
state: present
update_cache: true
when: ansible_facts['os_family'] == "Debian"
become: true
#
# - name: Enable unattended-upgrades