2021-06-08 07:24:39 +00:00
|
|
|
- name: Delete cloud-init package
|
|
|
|
apt:
|
|
|
|
name: cloud-init
|
|
|
|
state: absent
|
|
|
|
purge: yes
|
|
|
|
autoclean: yes
|
|
|
|
autoremove: yes
|
|
|
|
- name: Delete cloud-init files
|
|
|
|
file:
|
2021-06-08 07:38:40 +00:00
|
|
|
path: "{{ item }}"
|
2021-06-08 07:24:39 +00:00
|
|
|
state: absent
|
|
|
|
loop:
|
|
|
|
- /etc/cloud
|
|
|
|
- /var/lib/cloud
|