fix(ansible): cloud-init deinstallieren und Verzeichnisse entfernen
This commit is contained in:
parent
3c7f5ce725
commit
522f15c3cd
1 changed files with 20 additions and 0 deletions
|
|
@ -63,3 +63,23 @@
|
|||
create_home: true
|
||||
state: present
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue