FIX: all .yml are renamed with .yaml to follow the name convention

This commit is contained in:
2026-07-07 15:03:00 +00:00
parent 6f996d1da3
commit 5bcca3f268
4 changed files with 3 additions and 0 deletions
@@ -0,0 +1,27 @@
---
# Remove multiple packages at once
- name: Remove unnecessary packages
remote_user: ansible
when: (ansible_facts['distribution'] == "Debian") or
(ansible_facts['distribution'] == "Ubuntu")
apt:
name:
- nano
state: absent
become: yes
# Clean up all orphaned packages
- name: Remove all orphaned dependencies
remote_user: ansible
when: (ansible_facts['distribution'] == "Debian") or
(ansible_facts['distribution'] == "Ubuntu")
apt:
autoremove: yes
purge: yes
- name: Install sudo package on Alpine
remote_user: ansible
when: (ansible_facts['distribution'] == "Alpine")
command: /sbin/apk del nano