fix(ansible): cloud-init deinstallieren und Verzeichnisse entfernen

This commit is contained in:
Jesko Anschütz 2026-03-27 22:10:19 +01:00
parent 3c7f5ce725
commit 522f15c3cd

View file

@ -63,3 +63,23 @@
create_home: true create_home: true
state: present state: present
become: true become: true
- name: Remove cloud-init (unnötig, bremst Boot)
ansible.builtin.apt:
name: cloud-init
state: absent
purge: true
become: true
failed_when: false
- name: Remove cloud-init config directory
ansible.builtin.file:
path: /etc/cloud
state: absent
become: true
- name: Remove cloud-init state directory
ansible.builtin.file:
path: /var/lib/cloud
state: absent
become: true