Files
cluster/webmin/fix-apt-playbook.yml
Khwezi Mngoma 0410dc3950 first commit
2026-02-22 16:43:17 +02:00

26 lines
496 B
YAML

---
- name: Cleanup broken Webmin repository
hosts: all
become: yes
tasks:
- name: Remove old Webmin repository file
file:
path: /etc/apt/sources.list.d/webmin.list
state: absent
- name: Remove Webmin GPG keyring (optional)
file:
path: /usr/share/keyrings/webmin.gpg
state: absent
- name: Clean apt cache
apt:
autoclean: yes
autoremove: yes
- name: Update apt cache
apt:
update_cache: yes